Skip to content

Commit bf24f2d

Browse files
committed
fix maxos CI
Signed-off-by: adijeshen <[email protected]>
1 parent 346d154 commit bf24f2d

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
@@ -66,8 +66,8 @@ jobs:
6666
env HOMEBREW_NO_AUTO_UPDATE=1 brew install ninja openssl@3
6767
pip3 install --require-hashes --break-system-packages -r .github/workflows/requirements.txt
6868
echo "OPENSSL_ROOT_DIR=$(brew --prefix openssl@3)" >> $GITHUB_ENV
69-
export DYLD_LIBRARY_PATH=/usr/local/opt/openssl/lib:$DYLD_LIBRARY_PATH
70-
working-directory: liboqs
69+
export LDFLAGS="-L$(brew --prefix openssl@3)/lib"
70+
echo "LDFLAGS=$LDFLAGS" working-directory: liboqs
7171
- name: Build liboqs
7272
run: mkdir build && cd build && cmake .. -G"Ninja" -DOQS_BUILD_ONLY_LIB=ON && sudo ninja install
7373
working-directory: liboqs

0 commit comments

Comments
 (0)