chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / os-specific / darwin / apple-sdk / cf-setup-hook.sh
blob5d0f58f48b481ec49aba2b91b4abaf12b4ddd0b0
1 linkSystemCoreFoundationFramework() {
2 NIX_CFLAGS_COMPILE="-F@out@/Library/Frameworks${NIX_CFLAGS_COMPILE:+ }${NIX_CFLAGS_COMPILE-}"
3 # gross! many symbols (such as _OBJC_CLASS_$_NSArray) are defined in system CF, but not
4 # in the opensource release
5 # if the package needs private headers, we assume they also want to link with system CF
6 NIX_LDFLAGS+=" @out@/Library/Frameworks/CoreFoundation.framework/CoreFoundation.tbd"
9 preConfigureHooks+=(linkSystemCoreFoundationFramework)