toplevel.mk: drop LD_LIBRARY_PATH overrides
Overriding LD_LIBRARY_PATH for host utilities frequently leads to problems with host executables loading shared libraries from the staging_dir, leading to crashes due to incompatible ABIs. Since most host utilties either embed a proper rpath or are reworked to link statically we do not need the workaround anymore. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47103
This commit is contained in:
parent
f0ce8d24e6
commit
dea417017e
1 changed files with 0 additions and 2 deletions
|
@ -22,8 +22,6 @@ endif
|
||||||
HOSTCC ?= $(CC)
|
HOSTCC ?= $(CC)
|
||||||
export RELEASE
|
export RELEASE
|
||||||
export REVISION
|
export REVISION
|
||||||
export LD_LIBRARY_PATH:=$(subst ::,:,$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)$(TOPDIR)/staging_dir/host/lib)
|
|
||||||
export DYLD_LIBRARY_PATH:=$(subst ::,:,$(if $(DYLD_LIBRARY_PATH),$(DYLD_LIBRARY_PATH):)$(TOPDIR)/staging_dir/host/lib)
|
|
||||||
export GIT_CONFIG_PARAMETERS='core.autocrlf=false'
|
export GIT_CONFIG_PARAMETERS='core.autocrlf=false'
|
||||||
export MAKE_JOBSERVER=$(filter --jobserver%,$(MAKEFLAGS))
|
export MAKE_JOBSERVER=$(filter --jobserver%,$(MAKEFLAGS))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue