From: Bernd Kuhls Date: Sat, 25 Oct 2014 18:19:55 +0000 (+0200) Subject: package/xbmc: Add optional support for libcap X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=28a0054bea79eafc0caa70c2364a15113af03f6e;p=buildroot.git package/xbmc: Add optional support for libcap Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk index 86a9721f73..03362c21bc 100644 --- a/package/xbmc/xbmc.mk +++ b/package/xbmc/xbmc.mk @@ -63,6 +63,13 @@ XBMC_CONF_ENV += INCLUDES="-I$(STAGING_DIR)/usr/include/interface/vcos/pthreads LIBS="-lvcos -lvchostif" endif +ifeq ($(BR2_PACKAGE_LIBCAP),y) +XBMC_CONF_OPTS += --enable-libcap +XBMC_DEPENDENCIES += libcap +else +XBMC_CONF_OPTS += --disable-libcap +endif + ifeq ($(BR2_PACKAGE_XBMC_DBUS),y) XBMC_DEPENDENCIES += dbus XBMC_CONF_OPTS += --enable-dbus