Skip to content

Commit

Permalink
Move away from reliance on DYLD_LIBRARY_PATH
Browse files Browse the repository at this point in the history
With the introduction of macOS System Integrity Protect (SIP)
LD_LIBRARY_PATH and DYLD_LIBRARY_PATH environment variables may be
stripped before execution.  See:

 * https://help.mulesoft.com/s/article/Variables-LD-LIBRARY-PATH-DYLD-LIBRARY-PATH-are-ignored-on-MAC-OS-if-System-Integrity-Protect-SIP-is-enable
  • Loading branch information
chris-allan committed Dec 15, 2020
1 parent bfdef59 commit f067b5a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,13 @@ jobs:
run: brew install swig

- name: Build native code
run: make clean swig all
run: |
make clean swig all
mkdir -p ${HOME}/Library/Java/Extensions
cp build/*.dylib ${HOME}/Library/Java/Extensions
- name: Run tests
run: |
export DYLD_LIBRARY_PATH=${GITHUB_WORKSPACE}/build
cd build
mkdir -p transcoded/C/ transcoded/C++/ transcoded/Java/
# Test base jxrlib C library
Expand Down

0 comments on commit f067b5a

Please sign in to comment.