mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-03 16:37:43 +00:00
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 \
|
--disable-rpath \
|
||||||
--with-external-db \
|
--with-external-db \
|
||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
--without-cap \
|
|
||||||
--without-hackingdocs \
|
--without-hackingdocs \
|
||||||
--without-lua
|
--without-lua
|
||||||
|
|
||||||
@ -36,6 +35,13 @@ else
|
|||||||
RPM_CONF_OPTS += --without-acl
|
RPM_CONF_OPTS += --without-acl
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_LIBNSS),y)
|
||||||
RPM_DEPENDENCIES += libnss
|
RPM_DEPENDENCIES += libnss
|
||||||
RPM_CONF_OPTS += --with-crypto=nss
|
RPM_CONF_OPTS += --with-crypto=nss
|
||||||
|
Loading…
x
Reference in New Issue
Block a user