From e2adf5babcc7c04368fbb5c9fb8df170bbfdd7d0 Mon Sep 17 00:00:00 2001 From: David-John Willis Date: Tue, 12 Apr 2011 10:42:57 +0100 Subject: GPH/GP2X: Tweak wrapper script to export LD_LIBRARY_PATH. --- backends/platform/gp2x/build/scummvm.gpe | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backends/platform') 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 -- cgit v1.2.3