Patchwork [meta-oe,dylan,34/60] cifs-utils: add PACKAGECONFIG for libcap

login
register
mail settings
Submitter Martin Jansa
Date Aug. 15, 2013, 7:19 a.m.
Message ID <2363d483b4c9103314b5dd7dd8f40fe2098f8e9c.1376551135.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/55701/
State New, archived
Headers show

Comments

Martin Jansa - Aug. 15, 2013, 7:19 a.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 19b60ad..dde1cc7 100644
--- a/meta-networking/recipes-support/cifs/cifs-utils_git.bb
+++ b/meta-networking/recipes-support/cifs/cifs-utils_git.bb
@@ -11,6 +11,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() {