diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2019-10-11 17:10:39 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2019-10-11 17:10:39 +0000 |
commit | 87214109a2e045fc9e0c055ad3208129a8cf8aa0 (patch) | |
tree | b1e6479b077f7efd4d0ccb0b9b3c640b717eadb2 | |
parent | b5c37fd879eeb9025db34aefaa46c55c1f7ad3ff (diff) | |
download | midipix_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.
-rw-r--r-- | subr/ex_pkg_env.subr | 3 | ||||
l--------- | vars/ncurses_host.vars | 1 | ||||
-rw-r--r-- | vars/ncursestw_host.vars | 13 |
3 files changed, 3 insertions, 14 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() { diff --git a/vars/ncurses_host.vars b/vars/ncurses_host.vars deleted file mode 120000 index b37b4636..00000000 --- a/vars/ncurses_host.vars +++ /dev/null @@ -1 +0,0 @@ -ncursestw_host.vars
\ No newline at end of file diff --git a/vars/ncursestw_host.vars b/vars/ncursestw_host.vars deleted file mode 100644 index 850a124d..00000000 --- a/vars/ncursestw_host.vars +++ /dev/null @@ -1,13 +0,0 @@ -# -# set -o errexit -o noglob are assumed. -# - -pkg_ncurses_host_install_make_pre() { - unset LD_LIBRARY_PATH; -}; - -pkg_ncursestw_host_install_make_pre() { - pkg_ncurses_host_install_make_pre "${@}"; -}; - -# vim:filetype=sh |