Skip to content

Commit 60d1601

Browse files
committed
trurl.sh: link CoreFoundation (for gcc)
Fixing (with gcc only): ``` : && /opt/homebrew/bin/gcc-15 -mmacosx-version-min=10.9 -fno-delete-null-pointer-checks -fno-strict-aliasing -fno-strict-overflow -ftrivial-auto-var-init=zero -fzero-init-padding-bits=all -fno-omit-frame-pointer -mbranch-protection=standard -fvisibility=hidden -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-ident -Wl,-map,trurl.map -framework SystemConfiguration -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -mmacosx-version-min=10.9 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/trurl.dir/trurl.c.o -o trurl /Users/runner/work/curl-for-win/curl-for-win/curl/_a64-mac-sys-for-trurl/usr/lib/libcurl.a && : Undefined symbols for architecture arm64: "_CFRelease", referenced from: _Curl_macos_init in libcurl.a[77](macos.c.o) ld: symbol(s) not found for architecture arm64 ``` https://github.com/curl/curl-for-win/actions/runs/18807205129/job/53663106319 trurl.sh: link CoreFoundation
1 parent 09bcfed commit 60d1601

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

trurl-gnumake.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ _VER="$1"
4747
if [[ "${_CONFIG}" != *'osnotls'* ]]; then
4848
LDLIBS+=' -framework Security'
4949
fi
50-
LDLIBS+=' -framework SystemConfiguration'
50+
LDLIBS+=' -framework SystemConfiguration -framework CoreFoundation'
5151
fi
5252

5353
"${_MAKE}" clean

trurl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ _VER="$1"
5454
if [[ "${_CONFIG}" != *'osnotls'* ]]; then
5555
LIBS+=' -framework Security'
5656
fi
57-
LIBS+=' -framework SystemConfiguration'
57+
LIBS+=' -framework SystemConfiguration -framework CoreFoundation'
5858
fi
5959

6060
# shellcheck disable=SC2086

0 commit comments

Comments
 (0)