[oe-commits] Chris Larson : libcap: BUILD_CFLAGS can need the libcap/include too

git version control git at git.openembedded.org
Fri Jan 22 16:47:43 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 81cd71f8a53db6b99a9f44c662b3e9dd93fe65bd
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=81cd71f8a53db6b99a9f44c662b3e9dd93fe65bd

Author: Chris Larson <clarson at mvista.com>
Date:   Thu Jan 14 13:13:38 2010 -0700

libcap: BUILD_CFLAGS can need the libcap/include too

Signed-off-by: Chris Larson <clarson at mvista.com>

---

 recipes/libcap/libcap2_2.16.bb |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/recipes/libcap/libcap2_2.16.bb b/recipes/libcap/libcap2_2.16.bb
index 8c9803d..99b7ae6 100644
--- a/recipes/libcap/libcap2_2.16.bb
+++ b/recipes/libcap/libcap2_2.16.bb
@@ -5,8 +5,9 @@ LICENSE = "GPL"
 DEPENDS = "bison-native flex-native libattr"
 PR = "r0"
 
-CFLAGS_append = " -I${S}/libcap/include"
-LDFLAGS_prepend = "-L../libcap"
+BUILD_CFLAGS += "-I${S}/libcap/include"
+CFLAGS += "-I${S}/libcap/include"
+LDFLAGS =+ "-L../libcap"
 
 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/libs/security/linux-privs/libcap2/libcap-${PV}.tar.bz2 \
 	   file://make.patch;patch=1 \





More information about the Openembedded-commits mailing list