@@ -70,12 +70,12 @@ ccWrapper_addCVars () {
7070 local role_post role_pre
7171 getHostRoleEnvHook
7272
73− if [[ -d "$1/include" ]]; then
74− export NIX_${role_pre}CFLAGS_COMPILE+=" ${ccIncludeFlag:--isystem} $1/include"
73+ if [ -d "$1/include" ]; then
74+ export NIX_${role_pre}CFLAGS_COMPILE+=" -isystem $1/include"
7575 fi
7676
77− if [[ -d "$1/Library/Frameworks" ]]; then
78− export NIX_${role_pre}CFLAGS_COMPILE+=" -F$1/Library/Frameworks"
77+ if [ -d "$1/Library/Frameworks" ]; then
78+ export NIX_${role_pre}CFLAGS_COMPILE+=" -iframework $1/Library/Frameworks"
7979 fi
8080}
8181