[Buildroot] [git commit] gd: explictly disable freetype support when not available

Peter Korsgaard jacmet at sunsite.dk
Fri Jan 18 22:22:32 UTC 2013


commit: http://git.buildroot.net/buildroot/commit/?id=e81e2770aff61d07306d0448bd434d613ed9afef
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Otherwise it will try to run freetype-config from the host to check
for availability.

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 package/gd/gd.mk |    2 ++
 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)


More information about the buildroot mailing list