gd: explictly disable freetype support when not available
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 18 Jan 2013 21:00:47 +0000 (22:00 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 18 Jan 2013 22:22:32 +0000 (23:22 +0100)
Otherwise it will try to run freetype-config from the host to check
for availability.

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

index de1f5d1714eb1e2f9655c563767d80e820af0ab0..1f9b1d694cf63c8b501c7db28f7db79b67ba8968 100644 (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)