mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
9 lines
221 B
Bash
9 lines
221 B
Bash
addPrivateFrameworks() {
|
|
flag="-F/System/Library/PrivateFrameworks"
|
|
if [[ "${NIX_CFLAGS_COMPILE-}" != *$flag* ]]; then
|
|
NIX_CFLAGS_COMPILE+=" $flag"
|
|
fi
|
|
}
|
|
|
|
addEnvHooks "$hostOffset" addPrivateFrameworks
|