Changeset 31780


Ignore:
Timestamp:
2012-05-17T22:19:43+02:00 (6 years ago)
Author:
nbd
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/toplevel.mk

    r31650 r31780  
    2323export OPENWRTVERSION 
    2424export IS_TTY=$(shell tty -s && echo 1 || echo 0) 
    25 export LD_LIBRARY_PATH:=$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib 
    26 export DYLD_LIBRARY_PATH:=$(if $(DYLD_LIBRARY_PATH),$(DYLD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib 
     25export LD_LIBRARY_PATH:=$(subst ::,:,$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib) 
     26export DYLD_LIBRARY_PATH:=$(subst ::,:,$(if $(DYLD_LIBRARY_PATH),$(DYLD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib) 
    2727export GIT_CONFIG_PARAMETERS='core.autocrlf=false' 
    2828 
Note: See TracChangeset for help on using the changeset viewer.