File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,9 @@ unset OBJCPLUS_INCLUDE_PATH
71
71
72
72
export C_INCLUDE_PATH=" ${NATIVE_GCC} /include"
73
73
export CPLUS_INCLUDE_PATH=" ${NATIVE_GCC} /include/c++:${NATIVE_GCC} /include"
74
- export OBJC_INCLUDE_PATH=" ${NATIVE_GCC} /include"
75
- export OBJCPLUS_INCLUDE_PATH=" ${NATIVE_GCC} /include/c++:${NATIVE_GCC} /include"
76
74
77
75
case " $HOST " in
78
- * darwin* ) export LIBRARY_PATH=" ${NATIVE_GCC} /lib" ;;
76
+ * darwin* ) export LIBRARY_PATH=" ${NATIVE_GCC} /lib" ;; # Required for qt/qmake
79
77
* mingw* ) export LIBRARY_PATH=" ${NATIVE_GCC} /lib" ;;
80
78
* )
81
79
NATIVE_GCC_STATIC=" $( store_path gcc-toolchain static) "
@@ -180,6 +178,14 @@ make -C depends --jobs="$JOBS" HOST="$HOST" \
180
178
x86_64_linux_NM=x86_64-linux-gnu-gcc-nm \
181
179
x86_64_linux_STRIP=x86_64-linux-gnu-strip
182
180
181
+ case " $HOST " in
182
+ * darwin* )
183
+ # Unset now that Qt is built
184
+ unset C_INCLUDE_PATH
185
+ unset CPLUS_INCLUDE_PATH
186
+ unset LIBRARY_PATH
187
+ ;;
188
+ esac
183
189
184
190
# ##########################
185
191
# Source Tarball Building #
You can’t perform that action at this time.
0 commit comments