Skip to content

Commit

Permalink
Disable IPv6 when building curl
Browse files Browse the repository at this point in the history
  • Loading branch information
BewareMyPower committed Dec 17, 2024
1 parent df1da0d commit afa53f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
6 changes: 0 additions & 6 deletions pkg/mac/build-static-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ else
exit 1
fi

# Apply the patch to disable IPv6 when building curl, otherwise curl will depend on some
# frameworks (CoreFoundation, CoreServices, SystemConfiguration) that cannot be bundled
# into the static library `libpulsarwithdeps.a`.
# It requires the extra link options like `-framework CoreFoundation -framework CoreServices -framework SystemConfiguration`.
sed -i.bak 's/set(OPTIONS "")/set(OPTIONS -DENABLE_IPV6=OFF)/' vcpkg/ports/curl/portfile.cmake

INSTALL_DIR=$PWD/pkg/mac/.install
set -x
cmake -B build-osx \
Expand Down
2 changes: 1 addition & 1 deletion vcpkg
Submodule vcpkg updated from 97dd26 to a1acae
4 changes: 2 additions & 2 deletions vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pulsar-cpp",
"version": "3.5.0",
"description": "Pulsar C++ SDK",
"builtin-baseline": "b051745c68faa6f65c493371d564c4eb8af34dad",
"builtin-baseline": "a1acae54be24d4e6eb5050c158be800ff1e8e14e",
"dependencies": [
{
"name": "asio",
Expand All @@ -25,7 +25,7 @@
"features": [
"openssl"
],
"version>=": "8.4.0"
"version>=": "8.5.0#2"
},
{
"name": "dlfcn-win32",
Expand Down

0 comments on commit afa53f1

Please sign in to comment.