summaryrefslogtreecommitdiffstats
path: root/package/setools
diff options
context:
space:
mode:
authorAdam Duskett <Aduskett@gmail.com>2016-06-26 18:39:11 -0400
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-01 11:06:05 +0200
commitebcca24c953d8df4b16bc52c5ba31feae4ed8ad0 (patch)
tree985ea02fe8db9867fbf8a1e88984980d41a0af15 /package/setools
parent7d863965a4ed93c6cde458a8e942737933d2bc3c (diff)
downloadbuildroot-ebcca24c953d8df4b16bc52c5ba31feae4ed8ad0.tar.gz
buildroot-ebcca24c953d8df4b16bc52c5ba31feae4ed8ad0.zip
libselinux: bump to version 2.5
In addition, if a user is using glibc 2.22, the default CFLAG D_FILE_OFFSET_BITS=64 will cause a compile error. This flag is now removed from the CFLAGS in the make file to ensure that toolchains compiled against glibc 2.22 will build the new version of the package properly. In addition, libselinux now uses fts(), which is not available on musl, and not provided by our default uClibc configuration. Therefore, libselinux now depends on glibc, as well as all its reverse dependencies. Signed-off-by: Adam Duskett <Aduskett@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> [Thomas: add glibc dependency for fts().] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/setools')
-rw-r--r--package/setools/Config.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/setools/Config.in b/package/setools/Config.in
index c291b2176e..5e7f39d65f 100644
--- a/package/setools/Config.in
+++ b/package/setools/Config.in
@@ -8,6 +8,7 @@ config BR2_PACKAGE_SETOOLS
depends on !BR2_STATIC_LIBS
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR
+ depends on BR2_TOOLCHAIN_USES_GLIBC # libselinux
# bfin: infamous _ symbol prefix issue
# nios2: triggers some toolchain issue "No symbol version
# section for versioned symbol"
@@ -28,7 +29,8 @@ config BR2_PACKAGE_SETOOLS
https://github.com/TresysTechnology/setools3/wiki
-comment "setools needs a toolchain w/ threads, C++, wchar, dynamic library"
+comment "setools needs a glibc toolchain w/ threads, C++, wchar, dynamic library"
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
- || !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP
+ || !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP \
+ || !BR2_TOOLCHAIN_USES_GLIBC
depends on !BR2_nios2 && !BR2_bfin && !BR2_arc
OpenPOWER on IntegriCloud