Skip to content

Commit d7bb163

Browse files
committed
🐛
1 parent ba72731 commit d7bb163

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
echo "goos: ${goos} goarch: ${goarch} libc: ${libc}"
5555
echo '#!/bin/sh' > "$HOME/.bin/zcc"
5656
echo '#!/bin/sh' > "$HOME/.bin/zxx"
57-
if [ "${goos}" = "macos" ];then
57+
if [ "${goos}" = "darwin" ];then
5858
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"
5959
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"
6060
else

0 commit comments

Comments
 (0)