gd: explictly disable freetype support when not available

Otherwise it will try to run freetype-config from the host to check
for availability.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2013-01-18 22:00:47 +01:00
parent 7b69814d48
commit e81e2770af

View File

@ -23,6 +23,8 @@ endif
ifeq ($(BR2_PACKAGE_FREETYPE),y)
GD_DEPENDENCIES += freetype
GD_CONF_ENV += ac_cv_path_FREETYPE_CONFIG=$(STAGING_DIR)/usr/bin/freetype-config
else
GD_CONF_OPT += --without-freetype
endif
ifeq ($(BR2_PACKAGE_JPEG),y)