Skip to content

Commit

Permalink
Fix win cross compile paths
Browse files Browse the repository at this point in the history
  • Loading branch information
luben committed Oct 29, 2023
1 parent 2c3a5da commit e744f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ jobs:
update: true

- name: Compile
run: /opt/aarch64-w64-mingw32/bin/aarch64-w64-mingw32-clang -Wl,--version-script=./libzstd-jni.so.map -shared -flto -D_JNI_IMPLEMENTATION_ -Wl,--kill-at -O3 -DZSTD_LEGACY_SUPPORT=4 -DZSTD_MULTITHREAD=1 -I/usr/include -I./jni -I./native -I./native/common -I./native/legacy -std=c99 -lpthread -o libzstd-jni-$(cat version).dll native/*.c native/legacy/*.c native/common/*.c native/compress/*.c native/decompress/*.[cS] native/dictBuilder/*.c
run: /opt/aarch64-w64-mingw32/bin/aarch64-w64-mingw32-clang -Wl,--version-script=./libzstd-jni.so.map -shared -flto -D_JNI_IMPLEMENTATION_ -Wl,--kill-at -O3 -DZSTD_LEGACY_SUPPORT=4 -DZSTD_MULTITHREAD=1 -I./src/windows/include -I./jni -I./src/native -I./src/native/common -I./src/native/legacy -std=c99 -lpthread -o libzstd-jni-$(cat version).dll ./src/native/*.c ./src/native/legacy/*.c ./src/native/common/*.c ./src/native/compress/*.c ./src/native/decompress/*.[cS] ./src/native/dictBuilder/*.c

- name: Deploy
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master'}}
Expand Down

0 comments on commit e744f25

Please sign in to comment.