Skip to content

Commit

Permalink
Merge pull request #2014 from minrk/set-rpath
Browse files Browse the repository at this point in the history
set rpath when installing libzmq to be bundled
  • Loading branch information
minrk authored Aug 13, 2024
2 parents d4743ea + 9a821dc commit f6dd539
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/install_libzmq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ if [[ "$(uname)" == "Darwin" ]]; then
fi

PREFIX="${ZMQ_PREFIX:-/usr/local}"
# add rpath so auditwheel patches it
export LDFLAGS="${LDFLAGS} -Wl,-rpath,$PREFIX/lib"

curl -L -O "https://github.com/jedisct1/libsodium/releases/download/${LIBSODIUM_VERSION}-RELEASE/libsodium-${LIBSODIUM_VERSION}.tar.gz"

Expand Down

0 comments on commit f6dd539

Please sign in to comment.