From 72e25c721153fe9d73413d317735dc7c0c160d4e Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sun, 25 Apr 2010 14:08:42 -0400 Subject: [PATCH] imlib2: fixed to find freetype when cross-compiling --- e17/imlib2/imlib2.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/e17/imlib2/imlib2.conf b/e17/imlib2/imlib2.conf index 70a37aa49..384d820ed 100644 --- a/e17/imlib2/imlib2.conf +++ b/e17/imlib2/imlib2.conf @@ -18,3 +18,9 @@ var_append confopt " " "--disable-mmx" pkginstalled xorg-server || var_append extraconfopt ' ' '--without-x' + +if atstage cross; then + cleanconfopt=0 + export FREETYPE_CONFIG="pkg-config freetype2" + var_append extraconfopt ' ' '"--with-freetype-config=$FREETYPE_CONFIG"' +fi