edid-decode: new package
[buildroot-gz.git] / package / directfb / 0002-imlib2-config.patch
blobea2bf8204998fcd8fdb3c1e64eae1c27beb9fc89
1 From 8352c434e515f19dd1ba36256bfcc3ec9480838d Mon Sep 17 00:00:00 2001
2 From: Peter Seiderer <ps.report@gmx.net>
3 Date: Thu, 5 Mar 2015 22:38:52 +0100
4 Subject: [PATCH] imlib2 config
6 Call the imlib2-conf variable that are set by ac_cv_path_IMLIB2_CONFIG
7 with the absolute path because the imlib2-config file is not covered
8 by the PATH variable.
9 This is important for cross compiler that need to get the staging settings
10 instead of the host settings.
12 Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
13 [ patch configure.in instead of configure to survive autoreconf ]
14 Signed-off-by: Peter Seiderer <ps.report@gmx.net>
15 ---
16 configure.in | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
19 diff --git a/configure.in b/configure.in
20 index 38d7e78..fa5e87f 100644
21 --- a/configure.in
22 +++ b/configure.in
23 @@ -1094,8 +1094,8 @@ if test "x$enable_imlib2" = "xyes"; then
24 AC_MSG_WARN([*** Imlib2 library not found, building without Imlib2 support ***])
25 imlib2="no"
26 else
27 - IMLIB2_CFLAGS=`imlib2-config --cflags`
28 - IMLIB2_LIBS=`imlib2-config --libs`
29 + IMLIB2_CFLAGS=`$IMLIB2_CONFIG --cflags`
30 + IMLIB2_LIBS=`$IMLIB2_CONFIG --libs`
31 imlib2="yes"
34 --
35 2.1.4