summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-06 18:26:05 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-06 18:26:05 +0000
commit817c7a1cda67d2db9a021eabfb9226fe696ab689 (patch)
tree073adebb02fc9f4f2bb44e797aa60bc8d8311c2f /subr
parent71b9ce3bd48165d2c9c2e0c272bc44096aa41678 (diff)
downloadmidipix_build-817c7a1cda67d2db9a021eabfb9226fe696ab689.tar.bz2
midipix_build-817c7a1cda67d2db9a021eabfb9226fe696ab689.tar.xz
vars/build.vars:host_packages_deps: adds python3_host v3.5.1 & ${PKG_PYTHON}.
vars/env.vars, subr/pkg_configure.subr: process ${PKG_PYTHON}. vars/python3_host.vars: create ${PREFIX}/bin/python ${LD_LIBRARY_PATH} wrapper.
Diffstat (limited to 'subr')
-rw-r--r--subr/pkg_configure.subr5
1 files changed, 4 insertions, 1 deletions
diff --git a/subr/pkg_configure.subr b/subr/pkg_configure.subr
index 23ef26d5..e94810d6 100644
--- a/subr/pkg_configure.subr
+++ b/subr/pkg_configure.subr
@@ -13,6 +13,9 @@ pkg_configure() {
if [ -n "${PKG_PKG_CONFIG_LIB_PATH}" ]; then
export PKG_CONFIG_LIBPATH="${PKG_PKG_CONFIG_LIBPATH}";
fi;
+ if [ -n "${PKG_PYTHON}" ]; then
+ export PYTHON="${PKG_PYTHON}";
+ fi;
AR="${PKG_AR}" \
CC="${PKG_CC}" \
RANLIB="${PKG_RANLIB}" \
@@ -22,7 +25,7 @@ pkg_configure() {
LDFLAGS="${PKG_LDFLAGS_CONFIGURE}${PKG_LDFLAGS_CONFIGURE_EXTRA:+ ${PKG_LDFLAGS_CONFIGURE_EXTRA}}" \
${PKG_CONFIGURE} \
${PKG_CONFIGURE_ARGS} ${PKG_CONFIGURE_ARGS_EXTRA} ${PKG_CONFIGURE_ARGS_EXTRA_DEBUG};
- unset PKGCONFIG PKG_CONFIG PKG_CONFIG_LIBPATH;
+ unset PKGCONFIG PKG_CONFIG PKG_CONFIG_LIBPATH PYTHON;
fi;
};