summaryrefslogtreecommitdiffstats
path: root/package/gd
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-12-04 12:47:19 -0800
committerPeter Korsgaard <jacmet@sunsite.dk>2012-12-04 12:47:19 -0800
commitd97187f8c813bf030b76ee9cf6d43d407d8e2966 (patch)
treebef2749d2b3409ba78b47cb8591578795f40400f /package/gd
parent540c24838cc0d9a11f8bf0db31b54cfd8d5ee746 (diff)
downloadbuildroot-novena-d97187f8c813bf030b76ee9cf6d43d407d8e2966.tar.gz
buildroot-novena-d97187f8c813bf030b76ee9cf6d43d407d8e2966.zip
gd: fix build with freetype but without fontconfig
Fixes http://autobuild.buildroot.net/results/3309617d2d5e14c0713dbaf9185815d79293e33b Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gd')
-rw-r--r--package/gd/gd.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/gd/gd.mk b/package/gd/gd.mk
index 476976430..972d8dda4 100644
--- a/package/gd/gd.mk
+++ b/package/gd/gd.mk
@@ -18,6 +18,10 @@ GD_CONF_OPT = --without-x --disable-rpath
ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
GD_DEPENDENCIES += fontconfig
GD_CONF_OPT += --with-fontconfig
+endif
+
+ifeq ($(BR2_PACKAGE_FREETYPE),y)
+GD_DEPENDENCIES += freetype
GD_CONF_ENV += ac_cv_path_FREETYPE_CONFIG=$(STAGING_DIR)/usr/bin/freetype-config
endif