freetype: add host config flags
this fixes static linking with mkfontscale/host xorg app Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
This commit is contained in:
parent
ebf284454a
commit
51197633c3
1 changed files with 6 additions and 1 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=freetype
|
PKG_NAME:=freetype
|
||||||
PKG_VERSION:=2.9.1
|
PKG_VERSION:=2.9.1
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:=@SF/freetype
|
PKG_SOURCE_URL:=@SF/freetype
|
||||||
|
@ -51,6 +51,11 @@ CONFIGURE_ARGS += \
|
||||||
--with-zlib=yes \
|
--with-zlib=yes \
|
||||||
--with-png=yes
|
--with-png=yes
|
||||||
|
|
||||||
|
HOST_CONFIGURE_ARGS+= \
|
||||||
|
--with-bzip2=no \
|
||||||
|
--with-zlib=no \
|
||||||
|
--with-png=no
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" all install
|
$(MAKE) -C $(PKG_BUILD_DIR) DESTDIR="$(PKG_INSTALL_DIR)" all install
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue