summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
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() {