mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
7 lines
273 B
Bash
7 lines
273 B
Bash
forceLinkCoreFoundationFramework() {
|
|
NIX_CFLAGS_COMPILE="-F@out@/Library/Frameworks${NIX_CFLAGS_COMPILE:+ }${NIX_CFLAGS_COMPILE-}"
|
|
NIX_LDFLAGS+=" @out@/Library/Frameworks/CoreFoundation.framework/CoreFoundation"
|
|
}
|
|
|
|
preConfigureHooks+=(forceLinkCoreFoundationFramework)
|