From: Fabrice Fontaine Date: Sun, 20 Oct 2019 16:56:08 +0000 (+0200) Subject: package/boost: fix build with python 3.8 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d17f54af03a2d893359d302df62f79418a575741;p=buildroot.git package/boost: fix build with python 3.8 Fixes: - http://autobuild.buildroot.org/results/81489f92ceb6287a4d6c52b2bb16a80e8c5c430a Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/boost/boost.mk b/package/boost/boost.mk index 3bc5a451ab..3bd1e8d2c7 100644 --- a/package/boost/boost.mk +++ b/package/boost/boost.mk @@ -67,7 +67,7 @@ ifeq ($(BR2_PACKAGE_BOOST_PYTHON),y) BOOST_FLAGS += --with-python-root=$(HOST_DIR) ifeq ($(BR2_PACKAGE_PYTHON3),y) BOOST_FLAGS += --with-python=$(HOST_DIR)/bin/python$(PYTHON3_VERSION_MAJOR) -BOOST_TARGET_CXXFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR)m +BOOST_TARGET_CXXFLAGS += -I$(STAGING_DIR)/usr/include/python$(PYTHON3_VERSION_MAJOR) BOOST_DEPENDENCIES += python3 else BOOST_FLAGS += --with-python=$(HOST_DIR)/bin/python$(PYTHON_VERSION_MAJOR)