libselinux: don't depend on kernel config symbols
authorDaniel Golle <daniel@makrotopia.org>
Thu, 13 Aug 2020 13:05:26 +0000 (14:05 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 13 Aug 2020 13:07:18 +0000 (14:07 +0100)
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@makrotopia.org>
package/libs/libselinux/Makefile

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