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