From 3ff643be4cf92865b26622838c5e06e88f8e8d47 Mon Sep 17 00:00:00 2001 From: "Aeschbacher, Fabrice" Date: Fri, 26 Nov 2010 15:47:06 +0100 Subject: 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 Signed-off-by: Khem Raj --- recipes/libsdl/libsdl-directfb_1.2.14.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } -- cgit 1.2.3-korg