From 3ed50ab9a5ebe8d6f8972e45979bb279b6b88a53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Sat, 12 Oct 2019 10:01:27 +0000 Subject: subr/build_init.subr: don't set ${LD_LIBRARY_PATH}. subr/ex_pkg_env.subr: don't unset ${LD_LIBRARY_PATH} given build target host_packages_deps. vars/libsolv.vars: don't unset ${LD_LIBRARY_PATH}. --- subr/build_init.subr | 1 - subr/ex_pkg_env.subr | 3 --- 2 files changed, 4 deletions(-) (limited to 'subr') diff --git a/subr/build_init.subr b/subr/build_init.subr index 3bd6af11..0634e33b 100644 --- a/subr/build_init.subr +++ b/subr/build_init.subr @@ -56,7 +56,6 @@ build_init() { fi; done; ex_rtl_unset_vars $(ex_rtl_lfilter_not "${_env_vars}" "${_env_vars_except}"); - export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${PREFIX}/lib"; ex_rtl_fileop mkdir "${BUILD_DLCACHEDIR}" "${BUILD_WORKDIR}"; if ex_rtl_lmatch "${ARG_DIST}" , rpm; then ex_rtl_fileop mkdir "${PREFIX_RPM}"; diff --git a/subr/ex_pkg_env.subr b/subr/ex_pkg_env.subr index d818f4e1..bc4f9ce2 100644 --- a/subr/ex_pkg_env.subr +++ b/subr/ex_pkg_env.subr @@ -33,9 +33,6 @@ exp_pkg_env_source() { ex_rtl_unset_vars $(ex_rtl_lfilter_not \ "$(set | awk -F= '/^PKG_/{print $1}' | sort)" \ "${_vars_set}"); - if [ "${_tgt_name}" = "host_packages_deps" ]; then - unset LD_LIBRARY_PATH; - fi; }; ex_pkg_env() { -- cgit v1.2.3