diff options
Diffstat (limited to 'subr')
-rw-r--r-- | subr/pkg_autoconf.subr | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/subr/pkg_autoconf.subr b/subr/pkg_autoconf.subr index 6ceec26b..810ec5a7 100644 --- a/subr/pkg_autoconf.subr +++ b/subr/pkg_autoconf.subr @@ -36,9 +36,11 @@ pkg_autoconf() { fi; done; fi; - for __ in ${PKG_BUILD_DIR} ${PKG_CONFIG_CACHE_EXTRA}; do - build_fileop cp "${MIDIPIX_BUILD_PWD}/etc/config.cache" "${WORKDIR}/${__}/"; - done; + if [ "${PKG_BUILD_TYPE}" != host ]; then + for __ in ${PKG_BUILD_DIR} ${PKG_CONFIG_CACHE_EXTRA}; do + build_fileop cp "${MIDIPIX_BUILD_PWD}/etc/config.cache" "${WORKDIR}/${__}/"; + done; + fi; fi; }; |