summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-08-06 11:06:27 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2019-08-06 11:06:27 +0000
commit8ba3bf706151dfc099c331abf8e1e37e16b12ccd (patch)
tree7bf93912dbb19c6d102b531a30e024a99bd681ff /subr
parentabdbcd682c0dd3e6c01d9f0e35dbc70209b784ee (diff)
downloadmidipix_build-8ba3bf706151dfc099c331abf8e1e37e16b12ccd.tar.bz2
midipix_build-8ba3bf706151dfc099c331abf8e1e37e16b12ccd.tar.xz
vars/build.vars:{native_{packages{,_deps{,_x11}}},dev_packages,minipix}:${PKG_CONFIG_CACHE_LOCAL}: set from ${CONFIG_CACHE_GNULIB} (via midipix.)
vars/build.vars:${CONFIG_CACHE_GNULIB}, vars/gnulib.vars: merged. vars/env.vars:${DEFAULT_BUILD_VARS}: adds provisional ${CONFIG_CACHE_LOCAL} variable. subr/pkg_configure_autotools.subr: append ${PKG_CONFIG_CACHE_LOCAL} (provisional) to config.cache if non-empty prior to appending ${PKG_CONFIG_CACHE_EXTRA} if non-empty.
Diffstat (limited to 'subr')
-rw-r--r--subr/pkg_configure_autotools.subr4
1 files changed, 4 insertions, 0 deletions
diff --git a/subr/pkg_configure_autotools.subr b/subr/pkg_configure_autotools.subr
index 5bbbee3c..4838717e 100644
--- a/subr/pkg_configure_autotools.subr
+++ b/subr/pkg_configure_autotools.subr
@@ -40,6 +40,10 @@ pkg_configure_autotools() {
if [ -n "${PKG_CONFIG_CACHE}" ]; then
echo "${PKG_CONFIG_CACHE}" |\
tr " " "\n" > "${PKG_BUILD_DIR}/config.cache";
+ if [ -n "${PKG_CONFIG_CACHE_LOCAL}" ]; then
+ echo "${PKG_CONFIG_CACHE_LOCAL}" |\
+ tr " " "\n" >> "${PKG_BUILD_DIR}/config.cache";
+ fi;
if [ -n "${PKG_CONFIG_CACHE_EXTRA}" ]; then
echo "${PKG_CONFIG_CACHE_EXTRA}" |\
tr " " "\n" >> "${PKG_BUILD_DIR}/config.cache";