summaryrefslogtreecommitdiffhomepage
path: root/build/hostenv.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build/hostenv.sh')
-rwxr-xr-xbuild/hostenv.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/hostenv.sh b/build/hostenv.sh
new file mode 100755
index 0000000000..ee906b0013
--- /dev/null
+++ b/build/hostenv.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+export LD_LIBRARY_PATH="$1/usr/lib:$LD_LIBRARY_PATH"
+export PATH="$1/bin:$1/usr/bin:$PATH"
+export LUA_PATH="$1/$2/?.lua;$1/$2/?/init.lua;;"
+export LUA_CPATH="$1/$3/?.so;;"
+$4