summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr')
-rw-r--r--subr/pkg_configure.subr1
-rw-r--r--subr/pkg_setup_env.subr1
2 files changed, 2 insertions, 0 deletions
diff --git a/subr/pkg_configure.subr b/subr/pkg_configure.subr
index f876e1e3..d63b16e6 100644
--- a/subr/pkg_configure.subr
+++ b/subr/pkg_configure.subr
@@ -10,6 +10,7 @@ pkg_configure() {
fi;
if [ -x "${PKG_CONFIGURE}" ]; then
CFLAGS="${PKG_CFLAGS_CONFIGURE}${PKG_CFLAGS_CONFIGURE_EXTRA:+ ${PKG_CFLAGS_CONFIGURE_EXTRA}}" \
+ CPPFLAGS="${PKG_CFLAGS_CONFIGURE}${PKG_CFLAGS_CONFIGURE_EXTRA:+ ${PKG_CFLAGS_CONFIGURE_EXTRA}}" \
CXXFLAGS="${PKG_CXXFLAGS_CONFIGURE}${PKG_CXXFLAGS_CONFIGURE_EXTRA:+ ${PKG_CXXFLAGS_CONFIGURE_EXTRA}}" \
LDFLAGS="${PKG_LDFLAGS_CONFIGURE}${PKG_LDFLAGS_CONFIGURE_EXTRA:+ ${PKG_LDFLAGS_CONFIGURE_EXTRA}}" \
${PKG_CONFIGURE} \
diff --git a/subr/pkg_setup_env.subr b/subr/pkg_setup_env.subr
index fb7b4566..75bf5f96 100644
--- a/subr/pkg_setup_env.subr
+++ b/subr/pkg_setup_env.subr
@@ -40,6 +40,7 @@ pkg_setup_env() {
export RANLIB="${PKG_TARGET}-ranlib";
fi;
if [ "${PKG_SLIBTOOL}" != "default" ]; then
+ export LIBTOOL="${PKG_SLIBTOOL:-slibtool}";
export MAKE="make LIBTOOL=${PKG_SLIBTOOL:-slibtool}";
fi;
fi;