]> code.ossystems Code Review - openembedded-core.git/commitdiff
directfb: disable imlib2 explicitly
authorDennis Lan <dennis.yxun@gmail.com>
Wed, 11 Jul 2012 07:49:54 +0000 (07:49 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Jul 2012 10:14:14 +0000 (11:14 +0100)
When HOST machine installed imlib2, compiling directfb in OE will
direct this library, and try to use it. This is wrong, since there is
no imlib in OE, so we should disable it explicitly here.

Error as following:
| idirectfbimageprovider_imlib2.c:64:20: fatal error: Imlib2.h: No such
file or directory

Config.log as following (which is wrong):
configure:19602: checking for imlib2-config
configure:19620: found /usr/bin/imlib2-config
configure:19633: result: /usr/bin/imlib2-config

Signed-off-by: Dennis Lan <dennis.yxun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/directfb/directfb_1.6.1.bb

index cafc21fcf64fd392c141cc4d66ae1e883fb0d4a1..a6012ca29055709a18bab87a1572580c43f8467f 100644 (file)
@@ -1,7 +1,7 @@
 require directfb.inc
 
 RV = "1.6-0"
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 DEPENDS += "sysfsutils"
 
@@ -14,6 +14,7 @@ EXTRA_OECONF = "\
   --disable-sdl \
   --disable-vnc \
   --disable-x11 \
+  --disable-imlib2 \
 "
 
 LEAD_SONAME = "libdirectfb-1.6.so.0"