From: Daniel Golle Date: Thu, 13 Aug 2020 13:05:26 +0000 (+0100) Subject: libselinux: don't depend on kernel config symbols X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ff6b8156916d2fc8f308bd02241a23eea99a1c7f;p=openwrt%2Fstaging%2Fansuel.git 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 --- 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 +@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