summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-01-18 21:00:47 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-01-18 22:22:32 (GMT)
commite81e2770aff61d07306d0448bd434d613ed9afef (patch)
tree4ee166db1963837a6bdcd4ebc6042d695fd71a64
parent7b69814d4880c2f58e2aad44f9912468a600708b (diff)
downloadbuildroot-e81e2770aff61d07306d0448bd434d613ed9afef.tar.gz
buildroot-e81e2770aff61d07306d0448bd434d613ed9afef.tar.bz2
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>
-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 de1f5d1..1f9b1d6 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)