diff options
author | Gustavo Zacarias <gustavo.zacarias@free-electrons.com> | 2016-02-24 11:26:31 -0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-02-25 22:24:32 +0100 |
commit | 0cc9dd31e1d07a30001645b4f8a0f4aff91dbc1c (patch) | |
tree | 2a1b2165f0553001fe0d50d20045ab4b50728cca | |
parent | a14a68057644555ddefb4ae8e9923397377daf5d (diff) | |
download | buildroot-0cc9dd31e1d07a30001645b4f8a0f4aff91dbc1c.tar.gz buildroot-0cc9dd31e1d07a30001645b4f8a0f4aff91dbc1c.zip |
libcap: enable extended attribute support
This is required for capability support in files, via fakeroot.
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/libcap/libcap.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/package/libcap/libcap.mk b/package/libcap/libcap.mk index 54844f8d5f..252c4bbcec 100644 --- a/package/libcap/libcap.mk +++ b/package/libcap/libcap.mk @@ -20,8 +20,7 @@ else LIBCAP_HAVE_LIBATTR = no endif -# we don't have host-attr -HOST_LIBCAP_DEPENDENCIES = +HOST_LIBCAP_DEPENDENCIES = host-attr ifeq ($(BR2_STATIC_LIBS),y) LIBCAP_MAKE_TARGET = libcap.a @@ -67,12 +66,13 @@ define LIBCAP_INSTALL_TARGET_CMDS endef define HOST_LIBCAP_BUILD_CMDS - $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) LIBATTR=no + $(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)\ + LIBATTR=yes RAISE_SETFCAP=no endef define HOST_LIBCAP_INSTALL_CMDS - $(HOST_MAKE_ENV) $(MAKE) -C $(@D) LIBATTR=no DESTDIR=$(HOST_DIR) \ - prefix=/usr lib=lib install + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) \ + LIBATTR=yes RAISE_SETFCAP=no prefix=/usr lib=lib install endef $(eval $(generic-package)) |