mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 03:25:02 +00:00
adf11dcc01
Some parts of CoreMIDI depend on private frameworks, this enables eg. adding -framework MultitouchSupport to a build.
9 lines
218 B
Bash
9 lines
218 B
Bash
addPrivateFrameworks() {
|
|
flag="-F/System/Library/PrivateFrameworks"
|
|
if [[ "$NIX_CFLAGS_COMPILE" != *$flag* ]]; then
|
|
NIX_CFLAGS_COMPILE+=" $flag"
|
|
fi
|
|
}
|
|
|
|
addEnvHooks "$hostOffset" addPrivateFrameworks
|