aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/gp2xwiz/build/scummvm.gpe
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/gp2xwiz/build/scummvm.gpe')
-rwxr-xr-xbackends/platform/gp2xwiz/build/scummvm.gpe4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/gp2xwiz/build/scummvm.gpe b/backends/platform/gp2xwiz/build/scummvm.gpe
index 037b81d937..42cc00a22a 100755
--- a/backends/platform/gp2xwiz/build/scummvm.gpe
+++ b/backends/platform/gp2xwiz/build/scummvm.gpe
@@ -1,5 +1,9 @@
#!/bin/sh
+# 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.wiz --fullscreen --gfx-mode=1x --config=$(pwd)/.scummvmrc