package/rpm: add optional libcap dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
aa2703ab0d
commit
951831b46f
@ -25,7 +25,6 @@ RPM_CONF_OPTS = \
|
||||
--disable-rpath \
|
||||
--with-external-db \
|
||||
--with-gnu-ld \
|
||||
--without-cap \
|
||||
--without-hackingdocs \
|
||||
--without-lua
|
||||
|
||||
@ -36,6 +35,13 @@ else
|
||||
RPM_CONF_OPTS += --without-acl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
||||
RPM_DEPENDENCIES += libcap
|
||||
RPM_CONF_OPTS += --with-cap
|
||||
else
|
||||
RPM_CONF_OPTS += --without-cap
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBNSS),y)
|
||||
RPM_DEPENDENCIES += libnss
|
||||
RPM_CONF_OPTS += --with-crypto=nss
|
||||
|
Loading…
Reference in New Issue
Block a user