ntop: Pass PYTHON and PYTHON_CONFIG to configure
PATCH 1/1 ntop: Pass PYTHON and PYTHON_CONFIG to configure
This aids cross-building, otherwise configure goes into weeks to find these especially python-config and starts to poke at host files e.g. if /etc/debian_release exists then it errors out, but if it does not then it deploys a workaround and continues build, as a result we see ntop fail the build on debian-like build hosts but not on others eg. archlinux
Fixes
checking for arm-yoe-linux-gnueabi-python-config... no checking for python-config... no
Please install python-dev and rerun configure
Signed-off-by Khem Raj <[email protected]>
--- meta-networking/recipes-support/ntop/ntop_5.0.1.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-support/ntop/ntop_5.0.1.bb +2 -0
@@ -37,6 +37,8 @@ PACKAGECONFIG[plugins] = "--enable-plugins=yes, --disable-plugins, ," EXTRA_OECONF += "ac_cv_file_aclocal_m4=yes ac_cv_file_depcomp=no" +CONFIGUREOPTS += "PYTHON=python3 PYTHON_CONFIG=python3-config" + do_configure() { cp ${STAGING_DATADIR_NATIVE}/aclocal/libtool.m4 libtool.m4.in install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
Signature · 1 line
2.25.0