diff --git a/trurl.sh b/trurl.sh index ac2884835..83fc875e0 100755 --- a/trurl.sh +++ b/trurl.sh @@ -112,9 +112,11 @@ _VER="$1" # https://www.man7.org/training/download/shlib_dynlinker_slides.pdf export LD_DEBUG='libs,versions,statistics' fi - # On macOS this picks up a system libcurl. Ours is picked up + # On macOS this picks up a system libcurl by default. Ours is picked up # when running it from the unpacked release tarball. - DYLD_LIBRARY_PATH="$(pwd)/../curl/${_PP}/lib" ${_RUN_BIN} "${bin}" --version | tee "trurl-${_CPU}.txt" || true + DYLD_LIBRARY_PATH="$(pwd)/../curl/${_PP}/lib" \ + LD_LIBRARY_PATH="$(pwd)/../curl/${_PP}/lib" \ + ${_RUN_BIN} "${bin}" --version | tee "trurl-${_CPU}.txt" || true unset LD_DEBUG if [ "${CW_TURL_TEST:-}" = '1' ] && \