From 87214109a2e045fc9e0c055ad3208129a8cf8aa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Fri, 11 Oct 2019 17:10:39 +0000 Subject: subr/ex_pkg_env.subr:exp_pkg_env_source(): unset ${LD_LIBRARY_PATH} given build target host_packages_deps. vars/ncurses{,tw}_host.vars: removed. --- subr/ex_pkg_env.subr | 3 +++ 1 file changed, 3 insertions(+) (limited to 'subr') diff --git a/subr/ex_pkg_env.subr b/subr/ex_pkg_env.subr index bc4f9ce2..d818f4e1 100644 --- a/subr/ex_pkg_env.subr +++ b/subr/ex_pkg_env.subr @@ -33,6 +33,9 @@ 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