Merge pull request #8130 from lucize/freetype-host

freetype: add host config flags
This commit is contained in:
Hannu Nyman 2019-02-06 19:35:09 +02:00 committed by GitHub
commit 14aa71fc7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=freetype
PKG_VERSION:=2.9.1
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/freetype
@ -51,6 +51,11 @@ CONFIGURE_ARGS += \
--with-zlib=yes \
--with-png=yes
HOST_CONFIGURE_ARGS+= \
--with-bzip2=no \
--with-zlib=no \
--with-png=no
define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" all install
endef