Commit e81e2770 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

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: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 7b69814d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)