diff options
-rw-r--r-- | package/gd/gd.mk | 4 |
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 |