From 6f619bf7a0b00e72a7c90915eec6e5a28866aa55 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 5 Jan 2024 15:52:52 +0000 Subject: [PATCH] Disable curl's conversion of -I to -isystem on macOS --- compile.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compile.sh b/compile.sh index b6a4f2b4..3a415d49 100755 --- a/compile.sh +++ b/compile.sh @@ -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 \