From 817c7a1cda67d2db9a021eabfb9226fe696ab689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Wed, 6 Dec 2017 18:26:05 +0000 Subject: 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. --- subr/pkg_configure.subr | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'subr') 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; }; -- cgit v1.2.3