From a72a9737ce8c55feb383e4fa957a0c9ed1192e42 Mon Sep 17 00:00:00 2001 From: Micah Snyder Date: Sat, 31 Aug 2024 16:50:45 -0400 Subject: [PATCH] libcurl: Disable libidn2 for all builds Automatic library detection finds brew-installed libs. This is primarily to fix builds on GitHub Actions where the system provides all sorts of stuff we didn't request. On macOS, specifically, this causes failures because we build universal binaries, and brew binaries are not universal and lack symbols for othe other platform. --- recipes/libcurl-8.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes/libcurl-8.yaml b/recipes/libcurl-8.yaml index 3831d45..a63b233 100644 --- a/recipes/libcurl-8.yaml +++ b/recipes/libcurl-8.yaml @@ -42,6 +42,7 @@ platforms: -D NGHTTP2_INCLUDE_DIR="{includes}" \ -D NGHTTP2_LIBRARY="{libs}/libnghttp2.dylib" \ -D CMAKE_INSTALL_PREFIX="{install}" \ + -D USE_LIBIDN2=OFF \ -D BUILD_CURL_EXE=OFF make: | cd build @@ -86,6 +87,7 @@ platforms: -D NGHTTP2_LIBRARY="{libs}/libnghttp2.a" \ -D CMAKE_INSTALL_PREFIX="{install}" \ -D BUILD_SHARED_LIBS=OFF \ + -D USE_LIBIDN2=OFF \ -D BUILD_CURL_EXE=OFF make: | cd build @@ -128,6 +130,7 @@ platforms: -D NGHTTP2_INCLUDE_DIR="{includes}" \ -D NGHTTP2_LIBRARY="{libs}/libnghttp2.so" \ -D CMAKE_INSTALL_PREFIX="{install}" \ + -D USE_LIBIDN2=OFF \ -D BUILD_CURL_EXE=OFF make: | cd build @@ -172,6 +175,7 @@ platforms: -D CMAKE_INSTALL_PREFIX="{install}" \ -D BUILD_SHARED_LIBS=OFF \ -D CMAKE_INSTALL_LIBDIR=lib \ + -D USE_LIBIDN2=OFF \ -D BUILD_CURL_EXE=OFF make: | cd build @@ -213,6 +217,7 @@ platforms: -D NGHTTP2_INCLUDE_DIR="{includes}" \ -D NGHTTP2_LIBRARY="{libs}/libnghttp2.so" \ -D CMAKE_INSTALL_PREFIX="{install}" \ + -D USE_LIBIDN2=OFF \ -D BUILD_CURL_EXE=OFF make: | cd build @@ -258,6 +263,7 @@ platforms: -D CMAKE_INSTALL_PREFIX="{install}" \ -D BUILD_SHARED_LIBS=OFF \ -D CMAKE_INSTALL_LIBDIR=lib \ + -D USE_LIBIDN2=OFF \ -D BUILD_CURL_EXE=OFF make: | cd build