File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5858 # ref: https://github.com/ziglang/zig/issues/1349
5959 # ref: https://github.com/ziglang/zig/issues/10299#issuecomment-989153750
6060 if [ "${goos}" = "darwin" ];then
61- echo 'ZIG_LOCAL_CACHE_DIR="$HOME/tmp" zig cc -target '${libc}' --sysroot="$HOME/macos-SDK" -I/ usr/include -L/ usr/lib -F/ System/Library/Frameworks $@' >> "$HOME/.bin/zcc"
62- echo 'ZIG_LOCAL_CACHE_DIR="$HOME/tmp" zig c++ -target '${libc}' --sysroot="$HOME/macos-SDK" -I/ usr/include -L/ usr/lib -F/ System/Library/Frameworks $@' >> "$HOME/.bin/zxx"
61+ echo 'ZIG_LOCAL_CACHE_DIR="$HOME/tmp" zig cc -target '${libc}' --sysroot="$HOME/macos-SDK/root " -I"$HOME/macos-SDK/root/ usr/include" -L"$HOME/macos-SDK/root/ usr/lib" -F"$HOME/macos-SDK/root/ System/Library/Frameworks" $@' >> "$HOME/.bin/zcc"
62+ echo 'ZIG_LOCAL_CACHE_DIR="$HOME/tmp" zig c++ -target '${libc}' --sysroot="$HOME/macos-SDK/root " -I"$HOME/macos-SDK/root/ usr/include" -L"$HOME/macos-SDK/root/ usr/lib" -F"$HOME/macos-SDK/root/ System/Library/Frameworks" $@' >> "$HOME/.bin/zxx"
6363 else
6464 echo 'ZIG_LOCAL_CACHE_DIR="$HOME/tmp" zig cc -target '${libc}' $@' >> "$HOME/.bin/zcc"
6565 echo 'ZIG_LOCAL_CACHE_DIR="$HOME/tmp" zig c++ -target '${libc}' $@' >> "$HOME/.bin/zxx"
You can’t perform that action at this time.
0 commit comments