imagemagick: ensure cross freetype-config is used

Fixes http://autobuild.buildroot.net/results/fd6fd5b55b1e2fc5a70537f548bbcafab9773e4c/

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2012-06-25 23:25:44 +02:00
parent b731806dd1
commit c8490742fb

View File

@ -44,6 +44,8 @@ endif
ifeq ($(BR2_PACKAGE_FREETYPE),y) ifeq ($(BR2_PACKAGE_FREETYPE),y)
IMAGEMAGICK_CONF_OPT += --with-freetype IMAGEMAGICK_CONF_OPT += --with-freetype
IMAGEMAGICK_CONF_ENV += \
ac_cv_path_freetype_config=$(STAGING_DIR)/usr/bin/freetype-config
IMAGEMAGICK_DEPENDENCIES += freetype IMAGEMAGICK_DEPENDENCIES += freetype
else else
IMAGEMAGICK_CONF_OPT += --without-freetype IMAGEMAGICK_CONF_OPT += --without-freetype