2 export LD_LIBRARY_PATH="$1/usr/lib:$LD_LIBRARY_PATH"
3 [ `uname -s` = "Darwin" ] && export DYLD_LIBRARY_PATH="$1/usr/lib:$DYLD_LIBRARY_PATH"
4 export PATH="$1/bin:$1/usr/bin:$PATH"
5 export LUA_PATH="$1/$2/?.lua;$1/$2/?/init.lua;;"
6 export LUA_CPATH="$1/$3/?.so;;"
7 export LUCI_SYSROOT="$1"