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 6ea0da85 Try to fix libcrypto loading error on macOS.
6ea0da85 is described below

commit 6ea0da85234bf1f5bf4ecab4feb8d87c97c9ff38
Author: PengZheng <[email protected]>
AuthorDate: Thu Apr 25 16:49:38 2024 +0800

    Try to fix libcrypto loading error on macOS.
---
 .github/workflows/macos.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index de1ad1ab..05ee8013 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -105,5 +105,7 @@ jobs:
         run: |
           cd $GITHUB_WORKSPACE/build
           export 
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH:$(pwd)/utils:$(pwd)/framework:$(pwd)/dfi
-          ln -s /usr/local/opt/openssl/lib/libcrypto.3.dylib 
/usr/local/lib/libcrypto.dylib
+          cd /usr/local/lib
+          ln -s /usr/local/opt/openssl/lib/libcrypto.3.dylib libcrypto.dylib
+          cd $GITHUB_WORKSPACE/build
           ctest --output-on-failure

Reply via email to