diff options
author | Adam Duskett <Aduskett@gmail.com> | 2016-06-26 18:39:11 -0400 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-01 11:06:05 +0200 |
commit | ebcca24c953d8df4b16bc52c5ba31feae4ed8ad0 (patch) | |
tree | 985ea02fe8db9867fbf8a1e88984980d41a0af15 /package/libsemanage | |
parent | 7d863965a4ed93c6cde458a8e942737933d2bc3c (diff) |
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/libsemanage')
-rw-r--r-- | package/libsemanage/Config.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/package/libsemanage/Config.in b/package/libsemanage/Config.in index 5e9ad8fee..4465ef46d 100644 --- a/package/libsemanage/Config.in +++ b/package/libsemanage/Config.in @@ -5,7 +5,9 @@ config BR2_PACKAGE_LIBSEMANAGE select BR2_PACKAGE_BZIP2 depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS - depends on !BR2_TOOLCHAIN_USES_MUSL # getpwent_r() + # libselinux needs fts.h (not available in uClibc/musl) and + # libsemanage itself needs getpwent_r() not available in musl + depends on BR2_TOOLCHAIN_USES_GLIBC depends on !BR2_arc help libsemanage is the policy management library. It uses @@ -18,7 +20,7 @@ config BR2_PACKAGE_LIBSEMANAGE http://selinuxproject.org/page/Main_Page -comment "libsemanage needs a toolchain w/ threads, dynamic library" +comment "libsemanage needs a glibc toolchain w/ threads, dynamic library" depends on !BR2_arc - depends on !BR2_TOOLCHAIN_USES_MUSL - depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \ + !BR2_TOOLCHAIN_USES_GLIBC |