mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
darwin private frameworks setup hook: NIX_CFLAGS_COMPILE may be undefined
This commit is contained in:
parent
b78e84097f
commit
beda0365a6
@ -1,6 +1,6 @@
|
||||
addPrivateFrameworks() {
|
||||
flag="-F/System/Library/PrivateFrameworks"
|
||||
if [[ "$NIX_CFLAGS_COMPILE" != *$flag* ]]; then
|
||||
if [[ "${NIX_CFLAGS_COMPILE-}" != *$flag* ]]; then
|
||||
NIX_CFLAGS_COMPILE+=" $flag"
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user