Patchwork [meta-oe,03/29] cifs-utils: add PACKAGECONFIG for libcap

login
register
mail settings
Submitter Martin Jansa
Date July 24, 2013, 12:40 p.m.
Message ID <cab9f404c0d98acf76838c6a330a510c1850e570.1374669516.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/54363/
State Accepted, archived
Commit 29677f802dc80dadde2723d6e9c677d04ed1f674
Headers show

Comments

Martin Jansa - July 24, 2013, 12:40 p.m.
* libcap is autodetected from sysroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-networking/recipes-support/cifs/cifs-utils_git.bb | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta-networking/recipes-support/cifs/cifs-utils_git.bb b/meta-networking/recipes-support/cifs/cifs-utils_git.bb
index de2786a..07bf1b8 100644
--- a/meta-networking/recipes-support/cifs/cifs-utils_git.bb
+++ b/meta-networking/recipes-support/cifs/cifs-utils_git.bb
@@ -12,6 +12,9 @@  SRC_URI = "git://git.samba.org/cifs-utils.git"
 
 S = "${WORKDIR}/git"
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[cap] = "--with-libcap,--without-libcap,libcap"
+
 inherit autotools
 
 do_install_append() {