File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ build_CC="${NATIVE_GCC}/bin/gcc -isystem ${NATIVE_GCC}/include"
7474build_CXX=" ${NATIVE_GCC} /bin/g++ -isystem ${NATIVE_GCC} /include/c++ -isystem ${NATIVE_GCC} /include"
7575
7676case " $HOST " in
77+ * darwin* ) export LIBRARY_PATH=" ${NATIVE_GCC} /lib" ;;
7778 * mingw* ) export LIBRARY_PATH=" ${NATIVE_GCC} /lib" ;;
7879 * )
7980 NATIVE_GCC_STATIC=" $( store_path gcc-toolchain static) "
@@ -179,6 +180,12 @@ make -C depends --jobs="$JOBS" HOST="$HOST" \
179180 x86_64_linux_NM=x86_64-linux-gnu-gcc-nm \
180181 x86_64_linux_STRIP=x86_64-linux-gnu-strip
181182
183+ case " $HOST " in
184+ * darwin* )
185+ # Unset now that Qt is built
186+ unset LIBRARY_PATH
187+ ;;
188+ esac
182189
183190# ##########################
184191# Source Tarball Building #
You can’t perform that action at this time.
0 commit comments