projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b754c2
)
add staging_dir/host/lib to LD_LIBRARY_PATH so that host-built applications can insta...
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 28 Feb 2009 21:03:06 +0000
(21:03 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 28 Feb 2009 21:03:06 +0000
(21:03 +0000)
SVN-Revision: 14698
include/toplevel.mk
patch
|
blob
|
history
diff --git
a/include/toplevel.mk
b/include/toplevel.mk
index 6d46fe1edd2dafc0832f19bfe9862d5fe2abacda..eaaf6d37d1c6785ec86a7e3e3b68f06146ea8768 100644
(file)
--- a/
include/toplevel.mk
+++ b/
include/toplevel.mk
@@
-23,6
+23,8
@@
export RELEASE
export REVISION
export OPENWRTVERSION
export IS_TTY=$(shell tty -s && echo 1 || echo 0)
+export LD_LIBRARY_PATH:=$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib
+export DYLD_LIBRARY_PATH:=$(if $(DYLD_LIBRARY_PATH),$(DYLD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib
# make sure that a predefined CFLAGS variable does not disturb packages
export CFLAGS=