mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +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)
|