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 a new issue