Skip to content

Commit 57f798d

Browse files
committed
add back lcrypto
1 parent 651326a commit 57f798d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/java.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ jobs:
6262
path: liboqs
6363
ref: main
6464
- name: Install liboqs dependencies
65-
run: env HOMEBREW_NO_AUTO_UPDATE=1 brew install ninja && pip3 install --require-hashes --break-system-packages -r .github/workflows/requirements.txt
65+
run: |
66+
env HOMEBREW_NO_AUTO_UPDATE=1 brew install ninja openssl@3
67+
pip3 install --require-hashes --break-system-packages -r .github/workflows/requirements.txt
68+
echo "OPENSSL_ROOT_DIR=$(brew --prefix openssl@3)" >> $GITHUB_ENV
6669
working-directory: liboqs
6770
- name: Build liboqs
6871
run: mkdir build && cd build && cmake .. -G"Ninja" -DOQS_BUILD_ONLY_LIB=ON && sudo ninja install

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<linker.executable>gcc</linker.executable>
6464
<!-- use the static lib liboqs.a -->
6565
<linker.start.option>-shared -L${liboqs.lib.dir}</linker.start.option>
66-
<linker.end.option>${liboqs.lib.dir}/liboqs.a</linker.end.option>
66+
<linker.end.option>${liboqs.lib.dir}/liboqs.a -lcrypto</linker.end.option>
6767
</properties>
6868
</profile>
6969
<profile>
@@ -85,7 +85,7 @@
8585
<linker.executable>gcc</linker.executable>
8686
<!-- use the static lib liboqs.a -->
8787
<linker.start.option>-shared -L${liboqs.lib.dir}</linker.start.option>
88-
<linker.end.option>${liboqs.lib.dir}/liboqs.a</linker.end.option>
88+
<linker.end.option>${liboqs.lib.dir}/liboqs.a -lcrypto</linker.end.option>
8989
</properties>
9090
</profile>
9191
<profile>

0 commit comments

Comments
 (0)