projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Commit from LuCI Translation Portal by user jow.: 849 of 849 messages translated...
[project/luci.git]
/
build
/
hostenv.sh
diff --git
a/build/hostenv.sh
b/build/hostenv.sh
index ee906b0013c6425b6d018ee9f69da26b1f7d33e3..0f2fc27d1ca530dfa96c704d74fdb680a736448a 100755
(executable)
--- a/
build/hostenv.sh
+++ b/
build/hostenv.sh
@@
-1,6
+1,8
@@
#!/bin/sh
export LD_LIBRARY_PATH="$1/usr/lib:$LD_LIBRARY_PATH"
#!/bin/sh
export LD_LIBRARY_PATH="$1/usr/lib:$LD_LIBRARY_PATH"
+[ `uname -s` = "Darwin" ] && export DYLD_LIBRARY_PATH="$1/usr/lib:$DYLD_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;;"
export PATH="$1/bin:$1/usr/bin:$PATH"
export LUA_PATH="$1/$2/?.lua;$1/$2/?/init.lua;;"
export LUA_CPATH="$1/$3/?.so;;"
+export LUCI_SYSROOT="$1"
$4
$4