aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcraigsc2020-01-12 22:33:00 -0800
committercraigsc2020-01-12 22:33:00 -0800
commit673c0a61c0a764c8ab605803fc393f8e8c565c65 (patch)
tree1286b392a8afe217d505b004aeebc0e9e9a40a45
parent15dce40361e2a7f09a918ade78d73f7d98f3973c (diff)
downloadscummvm-rg350-673c0a61c0a764c8ab605803fc393f8e8c565c65.tar.gz
scummvm-rg350-673c0a61c0a764c8ab605803fc393f8e8c565c65.tar.bz2
scummvm-rg350-673c0a61c0a764c8ab605803fc393f8e8c565c65.zip
Add the top-level dir of the packaged OPK into the LD_LIBRARY_PATH
to use the libmad lib dynamically
-rwxr-xr-xdists/gcw0/scummvm.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/dists/gcw0/scummvm.sh b/dists/gcw0/scummvm.sh
index 30b8a6e78d..7c1d532f77 100755
--- a/dists/gcw0/scummvm.sh
+++ b/dists/gcw0/scummvm.sh
@@ -6,6 +6,8 @@ if [ ! -f $HOME/.scummvmrc ] ; then
cp ./scummvmrc $HOME/.scummvmrc
fi
+export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
+
if [ ! -f $HOME/.debug_scummvmrc ] ; then
exec ./scummvm 2>&1 >/var/tmp/scummvm.log
else