Browse Source

freetype: add host config flags

this fixes static linking with mkfontscale/host xorg app

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
lilik-openwrt-22.03
Lucian Cristian 6 years ago
parent
commit
51197633c3
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      libs/freetype/Makefile

+ 6
- 1
libs/freetype/Makefile 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


Loading…
Cancel
Save