Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
azahnen committed Oct 13, 2024
1 parent c240cb3 commit 55a17fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/libxtracfg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: go
working-directory: ./xtracfg
env:
CGO_FLAGS: ${{ matrix.os.type == 'macos' && '-framework CoreServices -framework Foundation' || '' }}
LDFLAGS: ${{ matrix.os.type == 'macos' && '-framework CoreServices -framework Foundation' || '' }}
run: |
go build -o build/xtracfg -v -x
- name: log3
Expand Down
4 changes: 2 additions & 2 deletions libxtracfg/c/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ echo "test"

# static
if [ "$PLATFORM" = "darwin" ]; then
#clang -I./ -L./ -Wl,-framework,CoreServices -ldl -lpthread -Wl,-framework,Foundation -o test ../test/main.c ./libxtracfg.a
echo "test temporarily disabled on macOS"
clang -I./ -L./ -Wl,-framework,CoreServices -ldl -lpthread -Wl,-framework,Foundation -o test ../test/main.c ./libxtracfg.a
#echo "test temporarily disabled on macOS"
else
clang -I./ -L./ -ldl -lpthread -o test ../test/main.c ./libxtracfg.a
fi

0 comments on commit 55a17fb

Please sign in to comment.