From: Peter Korsgaard Date: Sat, 24 Jan 2009 08:31:22 +0000 (-0000) Subject: freetype: only depend on zlib if it is available X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=309ff4f976cbdb56a327929efa077bb803914b46;p=buildroot.git freetype: only depend on zlib if it is available The dependency is only there so zlib gets built before freetype if it's available (for shared configure cache) --- diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk index 360d666115..9e12cbeb1a 100644 --- a/package/freetype/freetype.mk +++ b/package/freetype/freetype.mk @@ -4,13 +4,14 @@ # ############################################################# FREETYPE_VERSION = $(strip $(subst ",, $(BR2_FREETYPE_VERSION))) +#")) FREETYPE_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/freetype FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.bz2 FREETYPE_LIBTOOL_PATCH = NO FREETYPE_INSTALL_STAGING = YES FREETYPE_INSTALL_TARGET = YES FREETYPE_MAKE_OPT = CCexe="$(HOSTCC)" -FREETYPE_DEPENDENCIES = uclibc pkgconfig zlib +FREETYPE_DEPENDENCIES = uclibc pkgconfig $(if $(BR2_PACKAGE_ZLIB,zlib) $(eval $(call AUTOTARGETS,package,freetype))