diff options
Diffstat (limited to 'include/toplevel.mk')
-rw-r--r-- | include/toplevel.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk index 6d46fe1edd..eaaf6d37d1 100644 --- 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= |