aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAeschbacher, Fabrice <Fabrice.Aeschbacher@siemens.com>2010-11-26 15:47:06 +0100
committerKhem Raj <raj.khem@gmail.com>2010-12-11 01:18:30 -0800
commit3ff643be4cf92865b26622838c5e06e88f8e8d47 (patch)
treeae206b88c1a6cf0b5f6536bd7a891d1f4af4ac88
parentd29d77a26744918ae6c0446c3d91024b178376b4 (diff)
downloadopenembedded-3ff643be4cf92865b26622838c5e06e88f8e8d47.tar.gz
libsdl-directfb: fixed qa_configure error
* without this patch, ${STAGING_DIR}/bin/directfb-config --cflags returns: -I/usr/include/directfb -D_REENTRANT which makes qa_configure complain about /usr/include Signed-off-by: Fabrice Aeschbacher <fabrice.aeschbacher@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes/libsdl/libsdl-directfb_1.2.14.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/libsdl/libsdl-directfb_1.2.14.bb b/recipes/libsdl/libsdl-directfb_1.2.14.bb
index 9f22ee5ede..4a3dab0c4c 100644
--- a/recipes/libsdl/libsdl-directfb_1.2.14.bb
+++ b/recipes/libsdl/libsdl-directfb_1.2.14.bb
@@ -41,6 +41,7 @@ do_configure_prepend () {
# Remove old libtool macros.
MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"
for i in ${MACROS}; do
- rm acinclude/$i
+ rm -f acinclude/$i
done
+ export SYSROOT=$PKG_CONFIG_SYSROOT_DIR
}