]> sigrok.org Git - sigrok-util.git/commitdiff
cross-compile/macosx: Set DYLD_LIBRARY_PATH
authorBrian 'Redbeard' Harrington <redacted>
Sat, 10 Sep 2022 21:44:07 +0000 (14:44 -0700)
committerBrian 'Redbeard' Harrington <redacted>
Sat, 10 Sep 2022 21:44:07 +0000 (14:44 -0700)
After a prior change to the dynamic library path location users have
reported issues of nightly builds crashing on MacOS:

 - #1633
 - #1627
 - #1651
 - #1744

This change, mentioned by Andrea Leofreddi in #1633, hints PulseView and
sigrok-cli as to the correct location of dynamic libraries through the
addition of an environment variable to the startup script.

cross-compile/macosx/contrib/pulseview
cross-compile/macosx/contrib/sigrok-cli

index e41b4ad9d325299a7651d353170447f1fc01026d..a77ae3e3b3f740e4c9465b4a380929a11c49cb93 100755 (executable)
@@ -20,6 +20,7 @@
 
 DIR="$(dirname "$0")"
 cd "$DIR"
+export DYLD_LIBRARY_PATH="../Frameworks"
 export PYTHONHOME="../Frameworks/Python.framework/Versions/3.7"
 export SIGROK_FIRMWARE_DIR="../share/sigrok-firmware"
 export SIGROKDECODE_DIR="../share/libsigrokdecode/decoders"
index f3adbb0cc668387492e2880ce33c7f69e35d2e8c..3eb8ee2b1c80741c5cb073673fb3ae38007e5a9c 100755 (executable)
@@ -20,6 +20,7 @@
 
 DIR="$(dirname "$0")"
 cd "$DIR"
+export DYLD_LIBRARY_PATH="../Frameworks"
 export PYTHONHOME="../Frameworks/Python.framework/Versions/3.7"
 export SIGROK_FIRMWARE_DIR="../share/sigrok-firmware"
 export SIGROKDECODE_DIR="../share/libsigrokdecode/decoders"