Skip to content

Commit

Permalink
Disable curl's conversion of -I to -isystem on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Jan 5, 2024
1 parent 11db5a5 commit 6f619bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,9 @@ function build_curl {
download_github_src "curl/curl" "$CURL_VERSION" "curl" | tar -zx >> "$DIR/install.log" 2>&1
write_configure
cd "$curl_dir"
if [[ "$(uname -s)" == "Darwin" ]]; then
sed -i'.bak' 's/^CURL_CONVERT_INCLUDE_TO_ISYSTEM//' ./configure.ac
fi
./buildconf --force >> "$DIR/install.log" 2>&1
RANLIB=$RANLIB ./configure --disable-dependency-tracking \
--enable-ipv6 \
Expand Down

0 comments on commit 6f619bf

Please sign in to comment.