summaryrefslogtreecommitdiffstats
path: root/package/gd
diff options
context:
space:
mode:
Diffstat (limited to 'package/gd')
-rw-r--r--package/gd/gd.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/gd/gd.mk b/package/gd/gd.mk
index de1f5d171..1f9b1d694 100644
--- a/package/gd/gd.mk
+++ b/package/gd/gd.mk
@@ -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)