From e81e2770aff61d07306d0448bd434d613ed9afef Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 18 Jan 2013 22:00:47 +0100 Subject: [PATCH] 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 --- package/gd/gd.mk | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.30.2