This is an automated email from the ASF dual-hosted git repository.
pengzheng pushed a commit to branch hotfix/openssl-update
in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to refs/heads/hotfix/openssl-update by this
push:
new 7539b88f Try to fix libcrypto loading error on macOS.
7539b88f is described below
commit 7539b88f3a03d615c1cdafe152c47a0b75b61dd5
Author: PengZheng <[email protected]>
AuthorDate: Thu Apr 25 16:56:06 2024 +0800
Try to fix libcrypto loading error on macOS.
---
.github/workflows/macos.yml | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 05ee8013..b2a268ac 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -104,8 +104,6 @@ jobs:
- name: Test
run: |
cd $GITHUB_WORKSPACE/build
+ export
DYLD_LIBRARY_PATH=/usr/local/opt/openssl/lib:$DYLD_LIBRARY_PATH
export
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH:$(pwd)/utils:$(pwd)/framework:$(pwd)/dfi
- cd /usr/local/lib
- ln -s /usr/local/opt/openssl/lib/libcrypto.3.dylib libcrypto.dylib
- cd $GITHUB_WORKSPACE/build
ctest --output-on-failure