summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-06-25 21:25:44 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-06-25 21:25:44 (GMT)
commitc8490742fb4937f5550127d6482b006fd88bd746 (patch)
treeb08243f79f8f1ff24761667766af327d526b50f0
parentb731806dd1d7e6a5a18e6160817e097296a18660 (diff)
downloadbuildroot-c8490742fb4937f5550127d6482b006fd88bd746.tar.gz
buildroot-c8490742fb4937f5550127d6482b006fd88bd746.tar.bz2
imagemagick: ensure cross freetype-config is used
Fixes http://autobuild.buildroot.net/results/fd6fd5b55b1e2fc5a70537f548bbcafab9773e4c/ Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/imagemagick/imagemagick.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/imagemagick/imagemagick.mk b/package/imagemagick/imagemagick.mk
index a8b69c7..5cbb147 100644
--- a/package/imagemagick/imagemagick.mk
+++ b/package/imagemagick/imagemagick.mk
@@ -44,6 +44,8 @@ endif
ifeq ($(BR2_PACKAGE_FREETYPE),y)
IMAGEMAGICK_CONF_OPT += --with-freetype
+IMAGEMAGICK_CONF_ENV += \
+ ac_cv_path_freetype_config=$(STAGING_DIR)/usr/bin/freetype-config
IMAGEMAGICK_DEPENDENCIES += freetype
else
IMAGEMAGICK_CONF_OPT += --without-freetype