aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-26 23:41:22 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-02-26 23:41:22 +0100
commit2c2920c457bfe75756942a1185c575b17c5459b0 (patch)
tree91e4ad18be0f85e07adbe2088faa770dc3fbb698
parent87a23e538a05c043635ed6dac155c3e6f109b3d6 (diff)
downloadbuildroot-2c2920c457bfe75756942a1185c575b17c5459b0.tar.gz
buildroot-2c2920c457bfe75756942a1185c575b17c5459b0.tar.bz2
python-libconfig: disable on musl
The python-libconfig package fails to build with musl with very weird errors coming all the way from Boost Python, which nobody ever bothered to fix. It's time to disable this package on musl to avoid the repetitive build failures. Fixes: http://autobuild.buildroot.net/results/f0f6cdc8c38c024772615d5e677b0f4ad63ef7ec Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/python-libconfig/Config.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/python-libconfig/Config.in b/package/python-libconfig/Config.in
index 7cc5f8a3cd..a222f9a130 100644
--- a/package/python-libconfig/Config.in
+++ b/package/python-libconfig/Config.in
@@ -1,5 +1,6 @@
-comment "python-libconfig needs a toolchain w/ C++, threads"
- depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+comment "python-libconfig needs a glibc or uClibc toolchain w/ C++, threads"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
+ BR2_TOOLCHAIN_USES_MUSL
config BR2_PACKAGE_PYTHON_LIBCONFIG
bool "python-libconfig"
@@ -8,6 +9,8 @@ config BR2_PACKAGE_PYTHON_LIBCONFIG
select BR2_PACKAGE_LIBCONFIG
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
+ # error: invalid use of incomplete type 'struct _IO_FILE'
+ depends on !BR2_TOOLCHAIN_USES_MUSL
help
Python bindings to the C++ library libconfig