depot/third_party/nixpkgs/pkgs/os-specific/darwin/apple-sdk-11.0/cf-setup-hook.sh

7 lines
277 B
Bash
Raw Normal View History

forceLinkCoreFoundationFramework() {
NIX_CFLAGS_COMPILE="-F@out@/Library/Frameworks${NIX_CFLAGS_COMPILE:+ }${NIX_CFLAGS_COMPILE-}"
NIX_LDFLAGS+=" @out@/Library/Frameworks/CoreFoundation.framework/CoreFoundation.tbd"
}
preConfigureHooks+=(forceLinkCoreFoundationFramework)