directfb: disable imlib2 explicitly

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

(From OE-Core rev: fbdee213465f38791f3dd6c2663f2fe295be3596)

Signed-off-by: Dennis Lan <dennis.yxun@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Dennis Lan 2012-07-11 07:49:54 +00:00 committed by Richard Purdie
parent 5142a1e95e
commit 125e702dc5
1 changed files with 2 additions and 1 deletions

View 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"