summaryrefslogtreecommitdiffstats
path: root/package/python-libconfig
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2018-06-24 19:50:45 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-06-25 21:33:26 +0200
commitcf10728757f0daec097e72a037fb27a38de2b0e6 (patch)
treed419098ce30b2c01bf8ca7a939d365f40fb32354 /package/python-libconfig
parentd9d47b20b55268e8f9897dd2f40325f6c907b2da (diff)
downloadbuildroot-cf10728757f0daec097e72a037fb27a38de2b0e6.tar.gz
buildroot-cf10728757f0daec097e72a037fb27a38de2b0e6.zip
python-libconfig: fix build with boost 1.67
Since boost 1.67, python3 boost library is boost_python36.so instead of boost_python3.so so update first patch Fixes: - http://autobuild.buildroot.net/results/6f973f2945727b302409405288ef0b9808c7317b Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/python-libconfig')
-rw-r--r--package/python-libconfig/0001-Determine-boost_python-name-depending-on-current-Pyt.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/python-libconfig/0001-Determine-boost_python-name-depending-on-current-Pyt.patch b/package/python-libconfig/0001-Determine-boost_python-name-depending-on-current-Pyt.patch
index b30efc124d..53000cd678 100644
--- a/package/python-libconfig/0001-Determine-boost_python-name-depending-on-current-Pyt.patch
+++ b/package/python-libconfig/0001-Determine-boost_python-name-depending-on-current-Pyt.patch
@@ -4,9 +4,11 @@ Date: Thu, 27 Jul 2017 09:46:07 +0200
Subject: [PATCH] Determine boost_python name depending on current Python
version
-Python2 requires boost_python and Python3 requires boost_python3.
+Python2 requires boost_python and Python3 requires boost_python36 (since
+boost 1.67).
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
setup.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
@@ -19,7 +21,7 @@ index fdf5c27..4b38569 100644
from setuptools import setup, find_packages, Extension
import sys, os
-+boostlib = "boost_python3"
++boostlib = "boost_python36"
+if sys.version_info < (3, 0):
+ boostlib = "boost_python"
+
OpenPOWER on IntegriCloud