[openwrt/openwrt] libselinux: don't depend on kernel config symbols

LEDE Commits lede-commits at lists.infradead.org
Thu Aug 13 09:07:49 EDT 2020


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/ff6b8156916d2fc8f308bd02241a23eea99a1c7f

commit ff6b8156916d2fc8f308bd02241a23eea99a1c7f
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Thu Aug 13 14:05:26 2020 +0100

    libselinux: don't depend on kernel config symbols
    
    Dependencies are meant to express actual run-time dependencies and
    strictly speaking, libselinux can be build and used on kernels without
    SELinux (not in a very meaningful way, but never mind).
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 package/libs/libselinux/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/libs/libselinux/Makefile b/package/libs/libselinux/Makefile
index 893476f5de..b0b2491cc9 100644
--- a/package/libs/libselinux/Makefile
+++ b/package/libs/libselinux/Makefile
@@ -20,7 +20,7 @@ include $(INCLUDE_DIR)/package.mk
 
 define Package/libselinux
   SECTION:=libs
-  DEPENDS:=+libsepol +libpcre +musl-fts + at KERNEL_SECURITY + at KERNEL_SECURITY_NETWORK + at KERNEL_SECURITY_SELINUX
+  DEPENDS:=+libsepol +libpcre +musl-fts
   CATEGORY:=Libraries
   TITLE:=Runtime SELinux library
   URL:=http://selinuxproject.org/page/Main_Page



More information about the lede-commits mailing list