imagemagick: ensure cross freetype-config is used
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 25 Jun 2012 21:25:44 +0000 (23:25 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 25 Jun 2012 21:25:44 +0000 (23:25 +0200)
Fixes http://autobuild.buildroot.net/results/fd6fd5b55b1e2fc5a70537f548bbcafab9773e4c/

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/imagemagick/imagemagick.mk

index a8b69c752ca4a4e96aebeb3bbc6f1acd048838ba..5cbb14705351adcd70725b2ebaff43100ffe8c43 100644 (file)
@@ -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