aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorDavid-John Willis2011-04-12 10:42:57 +0100
committerDavid-John Willis2011-04-12 10:44:05 +0100
commite2adf5babcc7c04368fbb5c9fb8df170bbfdd7d0 (patch)
tree9761a7b55772f56d7e7c592da614f6fa64fd9c3a /backends/platform
parent15bdb29248db3acc5408dacc2bc696e0904d6869 (diff)
downloadscummvm-rg350-e2adf5babcc7c04368fbb5c9fb8df170bbfdd7d0.tar.gz
scummvm-rg350-e2adf5babcc7c04368fbb5c9fb8df170bbfdd7d0.tar.bz2
scummvm-rg350-e2adf5babcc7c04368fbb5c9fb8df170bbfdd7d0.zip
GPH/GP2X: Tweak wrapper script to export LD_LIBRARY_PATH.
Diffstat (limited to 'backends/platform')
-rwxr-xr-xbackends/platform/gp2x/build/scummvm.gpe4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/gp2x/build/scummvm.gpe b/backends/platform/gp2x/build/scummvm.gpe
index c6b051831c..e8983aa2ce 100755
--- a/backends/platform/gp2x/build/scummvm.gpe
+++ b/backends/platform/gp2x/build/scummvm.gpe
@@ -3,6 +3,10 @@
# Remount SD with forced Sync, does this really work?
mount -o sync,remount /dev/mmcsd/disc0/part1 /mnt/sd/
+# Export the location of any libs ScummVM depends on
+# (to avoid installing to the NAND and overwriting the broken ones there).
+export LD_LIBRARY_PATH=`pwd`/lib:$LD_LIBRARY_PATH
+
# Run ScummVM, important this bit.
./scummvm.gph