mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-06 18:09:44 +03:00
package/smartmontools: add libselinux optional dependency
libselinux is an optional dependency since a very long time (2010) andab807ee43bSigned-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commit33b6b6b3e2) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
f31498587a
commit
2015fb4061
@@ -16,4 +16,11 @@ else
|
||||
SMARTMONTOOLS_CONF_OPTS += --without-libcap-ng
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSELINUX),y)
|
||||
SMARTMONTOOLS_CONF_OPTS += --with-selinux
|
||||
SMARTMONTOOLS_DEPENDENCIES += libselinux
|
||||
else
|
||||
SMARTMONTOOLS_CONF_OPTS += --without-selinux
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user