summaryrefslogtreecommitdiffhomepage
path: root/subr/ex_pkg_env.subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-10-11 17:10:39 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-10-11 17:10:39 +0000
commit87214109a2e045fc9e0c055ad3208129a8cf8aa0 (patch)
treeb1e6479b077f7efd4d0ccb0b9b3c640b717eadb2 /subr/ex_pkg_env.subr
parentb5c37fd879eeb9025db34aefaa46c55c1f7ad3ff (diff)
downloadmidipix_build-87214109a2e045fc9e0c055ad3208129a8cf8aa0.tar.bz2
midipix_build-87214109a2e045fc9e0c055ad3208129a8cf8aa0.tar.xz
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.
Diffstat (limited to 'subr/ex_pkg_env.subr')
-rw-r--r--subr/ex_pkg_env.subr3
1 files changed, 3 insertions, 0 deletions
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() {