freetype: add optional bzip2 dependency
authorPeter Korsgaard <jacmet@sunsite.dk>
Fri, 10 Feb 2012 10:41:52 +0000 (11:41 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Fri, 10 Feb 2012 10:41:52 +0000 (11:41 +0100)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/freetype/freetype.mk

index 6eb6b29e7fcf2e7ea752c794c7822ec8e30362a7..32099da1675387822610aef78fcd79219f57a488 100644 (file)
@@ -9,7 +9,9 @@ FREETYPE_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/
 FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.bz2
 FREETYPE_INSTALL_STAGING = YES
 FREETYPE_MAKE_OPT = CCexe="$(HOSTCC)"
-FREETYPE_DEPENDENCIES = host-pkg-config $(if $(BR2_PACKAGE_ZLIB),zlib)
+FREETYPE_DEPENDENCIES = host-pkg-config \
+       $(if $(BR2_PACKAGE_ZLIB),zlib) \
+       $(if $(BR2_PACKAGE_BZIP2),bzip2)
 
 HOST_FREETYPE_DEPENDENCIES = host-pkg-config