make: do a better job of sanitizing LD_LIBRARY_PATH (fixes #8069)

SVN-Revision: 31780
lede-17.01
Felix Fietkau 2012-05-17 20:19:43 +00:00
parent 2360a53116
commit fe99e3c5b5
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,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 LD_LIBRARY_PATH:=$(subst ::,:,$(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 export DYLD_LIBRARY_PATH:=$(subst ::,:,$(if $(DYLD_LIBRARY_PATH),$(DYLD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib)
export GIT_CONFIG_PARAMETERS='core.autocrlf=false' export GIT_CONFIG_PARAMETERS='core.autocrlf=false'
# prevent perforce from messing with the patch utility # prevent perforce from messing with the patch utility