Skip to content

Commit 1d181e4

Browse files
authored
Update java.yml
Signed-off-by: Huajie Shen <[email protected]>
1 parent 3a9d4f7 commit 1d181e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/java.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ jobs:
7575
- name: Build liboqs-java and run tests
7676
run:
7777
export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/usr/local/lib"
78-
export LDFLAGS="-L$(brew --prefix openssl@3)/lib"
79-
mvn -P macosx -Dlinker.end.option="${liboqs.lib.dir}/liboqs.a -L$(brew --prefix openssl@3)/lib -lcrypto" package
78+
export OPENSSL_PATH=$(brew --prefix openssl@3)/lib
79+
mvn -P macosx "-Dlinker.end.option=/usr/local/lib/liboqs.a -L$OPENSSL_PATH -lcrypto" package
8080
- name: Compile KEM, Signatures and Rand examples
8181
run: |
8282
javac -cp target/liboqs-java.jar examples/KEMExample.java &&

0 commit comments

Comments
 (0)