summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-01-18 22:00:47 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-18 23:22:32 +0100
commite81e2770aff61d07306d0448bd434d613ed9afef (patch)
tree4ee166db1963837a6bdcd4ebc6042d695fd71a64 /package
parent7b69814d4880c2f58e2aad44f9912468a600708b (diff)
downloadbuildroot-novena-e81e2770aff61d07306d0448bd434d613ed9afef.tar.gz
buildroot-novena-e81e2770aff61d07306d0448bd434d613ed9afef.zip
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>
Diffstat (limited to 'package')
-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)