projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ea063d
)
build: adjust hostenv.sh for OS X
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 28 Dec 2009 23:28:44 +0000
(23:28 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 28 Dec 2009 23:28:44 +0000
(23:28 +0000)
build/hostenv.sh
patch
|
blob
|
history
diff --git
a/build/hostenv.sh
b/build/hostenv.sh
index fbf7ca1b73b5baab7f27d589ffa2b4d688246df4..657439160d25326728b492b1c1440bb6da416ccb 100755
(executable)
--- a/
build/hostenv.sh
+++ b/
build/hostenv.sh
@@
-1,5
+1,6
@@
-#!/bin/sh
+#
#
!/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;;"