diff options
Diffstat (limited to 'subr')
-rw-r--r-- | subr/pkg_configure_autotools.subr | 4 |
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"; |