wiz port. Lots of refactoring, some bugfixes
[ginge.git] / dist / ginge_dyn_oabi.sh
diff --git a/dist/ginge_dyn_oabi.sh b/dist/ginge_dyn_oabi.sh
new file mode 100755 (executable)
index 0000000..180d0da
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+root=$1
+shift
+
+#export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${root}lib"
+export LD_PRELOAD="${root}ginge_dyn"
+
+export GINGE_ROOT="${root}"
+
+exec "$@"