We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 802153d commit 20848cdCopy full SHA for 20848cd
docs/examples/start.sh
@@ -45,6 +45,7 @@ export RT_BIN="${RT_BINDIR}rtorrent"
45
46
if which objdump >/dev/null; then
47
RUNPATH=$(objdump -x "$RT_BIN" | grep RPATH | sed -re 's/ *RPATH *//')
48
+ test -n "$RUNPATH" || RUNPATH=$(objdump -x "$RT_BIN" | grep RUNPATH | sed -re 's/ *RUNPATH *//')
49
test -z "$RUNPATH" || LD_LIBRARY_PATH="$RUNPATH${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}"
50
fi
51
0 commit comments