[oe-commits] Richard Purdie : libpcre: Fix BUILD_CFLAGS for out of tree support
git at git.openembedded.org
git at git.openembedded.org
Sat Mar 23 12:56:02 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: d9130e5113c8f93f327fbe19dbfe39036c1c3995
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=d9130e5113c8f93f327fbe19dbfe39036c1c3995
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date: Sat Mar 23 12:55:19 2013 +0000
libpcre: Fix BUILD_CFLAGS for out of tree support
The BUILD_CFLAGS were broken since /include no longer exists in this package. We
do need to include ${B} in the include path for pcre.h though.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-support/libpcre/libpcre_8.32.bb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-support/libpcre/libpcre_8.32.bb b/meta/recipes-support/libpcre/libpcre_8.32.bb
index 04b76f3..4d17741 100644
--- a/meta/recipes-support/libpcre/libpcre_8.32.bb
+++ b/meta/recipes-support/libpcre/libpcre_8.32.bb
@@ -36,7 +36,7 @@ EXTRA_OECONF = "\
# Set LINK_SIZE in BUILD_CFLAGS given that the autotools bbclass use it to
# set CFLAGS_FOR_BUILD, required for the libpcre build.
-BUILD_CFLAGS =+ "-DLINK_SIZE=2 -I${S}/include"
+BUILD_CFLAGS =+ "-DLINK_SIZE=2 -I${B}"
CFLAGS += "-D_REENTRANT"
CXXFLAGS_append_powerpc = " -lstdc++"
More information about the Openembedded-commits
mailing list