X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=ginge.git;a=blobdiff_plain;f=dist%2Fginge_dyn_eabi.sh;fp=dist%2Fginge_dyn_eabi.sh;h=32c12f8a27de6f050c74279d73277308a64a7599;hp=0000000000000000000000000000000000000000;hb=4d0451847a77d420284c7fb0f50b1f167c1118ee;hpb=ed233fce977d411ce024631668f1488d0d078d19 diff --git a/dist/ginge_dyn_eabi.sh b/dist/ginge_dyn_eabi.sh new file mode 100755 index 0000000..32c12f8 --- /dev/null +++ b/dist/ginge_dyn_eabi.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +root=$1 +shift + +loader="${root}lib/ld-linux.so.2" +export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${root}lib" +export LD_PRELOAD="${root}ginge_dyn" + +export GINGE_ROOT="${root}" + +exec "${loader}" "$@"