Skip to content

Commit 6f619bf

Browse files
committed
Disable curl's conversion of -I to -isystem on macOS
1 parent 11db5a5 commit 6f619bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

compile.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -634,6 +634,9 @@ function build_curl {
634634
download_github_src "curl/curl" "$CURL_VERSION" "curl" | tar -zx >> "$DIR/install.log" 2>&1
635635
write_configure
636636
cd "$curl_dir"
637+
if [[ "$(uname -s)" == "Darwin" ]]; then
638+
sed -i'.bak' 's/^CURL_CONVERT_INCLUDE_TO_ISYSTEM//' ./configure.ac
639+
fi
637640
./buildconf --force >> "$DIR/install.log" 2>&1
638641
RANLIB=$RANLIB ./configure --disable-dependency-tracking \
639642
--enable-ipv6 \

0 commit comments

Comments
 (0)