Skip to content

Commit

Permalink
libcurl: Disable libidn2 for all builds
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
micahsnyder committed Aug 31, 2024
1 parent 05f4d0a commit a72a973
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions recipes/libcurl-8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a72a973

Please sign in to comment.