summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-06-25 23:25:44 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2012-06-25 23:25:44 +0200
commitc8490742fb4937f5550127d6482b006fd88bd746 (patch)
treeb08243f79f8f1ff24761667766af327d526b50f0
parentb731806dd1d7e6a5a18e6160817e097296a18660 (diff)
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 a8b69c752..5cbb14705 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