add staging_dir/host/lib to LD_LIBRARY_PATH so that host-built applications can install and make use of shared libraries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14698 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
f0d6629f64
commit
0440e2af34
|
@ -23,6 +23,8 @@ export RELEASE
|
||||||
export REVISION
|
export REVISION
|
||||||
export OPENWRTVERSION
|
export OPENWRTVERSION
|
||||||
export IS_TTY=$(shell tty -s && echo 1 || echo 0)
|
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
|
# make sure that a predefined CFLAGS variable does not disturb packages
|
||||||
export CFLAGS=
|
export CFLAGS=
|
||||||
|
|
Loading…
Reference in New Issue