diff --git a/package/busybox/Config.in b/package/busybox/Config.in index be8b0e4799..5e5c586762 100644 --- a/package/busybox/Config.in +++ b/package/busybox/Config.in @@ -38,10 +38,9 @@ config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS config BR2_PACKAGE_BUSYBOX_SELINUX bool "Enable SELinux support" - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_STATIC_LIBS + default y + depends on BR2_PACKAGE_LIBSELINUX select BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES - select BR2_PACKAGE_LIBSELINUX help Enable SELinux support in BusyBox. Please note that depending on your BusyBox configuration and the SELinux diff --git a/package/refpolicy/Config.in b/package/refpolicy/Config.in index f0c8a43563..b50b2f09ff 100644 --- a/package/refpolicy/Config.in +++ b/package/refpolicy/Config.in @@ -1,7 +1,6 @@ config BR2_PACKAGE_REFPOLICY bool "refpolicy" depends on BR2_TOOLCHAIN_HAS_THREADS # libsepol - select BR2_PACKAGE_BUSYBOX_SELINUX if BR2_PACKAGE_BUSYBOX # Even though libsepol is not necessary for building, we get # the policy version from libsepol, so we select it, and treat # it like a runtime dependency.