diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2014-10-25 20:19:55 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-10-26 05:45:47 +0100 |
commit | 28a0054bea79eafc0caa70c2364a15113af03f6e (patch) | |
tree | fc48288753f1f5e68b44504343e51466ba3d7270 | |
parent | e48cfc39f1e88f113316d0854ea05ed0faf2c83d (diff) | |
download | buildroot-28a0054bea79eafc0caa70c2364a15113af03f6e.tar.gz buildroot-28a0054bea79eafc0caa70c2364a15113af03f6e.zip |
package/xbmc: Add optional support for libcap
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | package/xbmc/xbmc.mk | 7 |
1 files changed, 7 insertions, 0 deletions
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 |