0002-imlib2-config.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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
  5. Call the imlib2-conf variable that are set by ac_cv_path_IMLIB2_CONFIG
  6. with the absolute path because the imlib2-config file is not covered
  7. by the PATH variable.
  8. This is important for cross compiler that need to get the staging settings
  9. instead of the host settings.
  10. Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
  11. [ patch configure.in instead of configure to survive autoreconf ]
  12. Signed-off-by: Peter Seiderer <ps.report@gmx.net>
  13. ---
  14. configure.in | 4 ++--
  15. 1 file changed, 2 insertions(+), 2 deletions(-)
  16. diff --git a/configure.in b/configure.in
  17. index 38d7e78..fa5e87f 100644
  18. --- a/configure.in
  19. +++ b/configure.in
  20. @@ -1094,8 +1094,8 @@ if test "x$enable_imlib2" = "xyes"; then
  21. AC_MSG_WARN([*** Imlib2 library not found, building without Imlib2 support ***])
  22. imlib2="no"
  23. else
  24. - IMLIB2_CFLAGS=`imlib2-config --cflags`
  25. - IMLIB2_LIBS=`imlib2-config --libs`
  26. + IMLIB2_CFLAGS=`$IMLIB2_CONFIG --cflags`
  27. + IMLIB2_LIBS=`$IMLIB2_CONFIG --libs`
  28. imlib2="yes"
  29. fi
  30. fi
  31. --
  32. 2.1.4