From: Peter Korsgaard Date: Fri, 18 Jan 2013 21:00:47 +0000 (+0100) Subject: gd: explictly disable freetype support when not available X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e81e2770aff61d07306d0448bd434d613ed9afef;p=buildroot.git 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 --- diff --git a/package/gd/gd.mk b/package/gd/gd.mk index de1f5d1714..1f9b1d694c 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)