Skip to content

Commit

Permalink
Set rpath for jack2 MOD linux builds
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Nov 1, 2023
1 parent f95dfbb commit 4dd9e4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bootstrap-mod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,10 @@ if [ "${WIN32}" -eq 1 ]; then
JACK2_EXTRAFLAGS+=" --static"
fi

if [ "${LINUX}" -eq 1 ]; then
export EXTRA_LDFLAGS='-Wl,-rpath,$ORIGIN -Wl,-rpath,$ORIGIN/..'
fi

download jack2 "${JACK2_VERSION}" "${JACK2_URL}" "" "git"
build_waf jack2 "${JACK2_VERSION}" "${JACK2_EXTRAFLAGS}"

Expand Down

0 comments on commit 4dd9e4d

Please sign in to comment.