notaz.gp2x.de
/
ginge.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
32c12f8a27de6f050c74279d73277308a64a7599
[ginge.git]
/
loader
/
ginge_dyn.sh
1
#!/bin/sh
2
3
root=$1
4
shift
5
6
loader="${root}lib/ld-linux.so.2"
7
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${root}lib"
8
export LD_PRELOAD="${root}ginge_dyn"
9
10
export GINGE_ROOT="${root}"
11
12
exec "${loader}" "$@"