summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-10-12 10:01:27 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-10-12 10:01:27 +0000
commit3ed50ab9a5ebe8d6f8972e45979bb279b6b88a53 (patch)
treecd6f7afd4de3d29ccbb79a08337b8e3fb427b81e /subr
parent7e690e49bea3f10e14a937770666e751a5f06bc2 (diff)
downloadmidipix_build-3ed50ab9a5ebe8d6f8972e45979bb279b6b88a53.tar.bz2
midipix_build-3ed50ab9a5ebe8d6f8972e45979bb279b6b88a53.tar.xz
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}.
Diffstat (limited to 'subr')
-rw-r--r--subr/build_init.subr1
-rw-r--r--subr/ex_pkg_env.subr3
2 files changed, 0 insertions, 4 deletions
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() {