freetype: enable deprecated `freetype-config`

`freetype-config` has been deprecated in favour of pkg-config in v2.9.1
but downstream packages (ftgl gd sdl_ttf sdl2_ttf) still require it.

fixes #2158
This commit is contained in:
Tony Theodore 2018-07-01 15:28:59 +10:00
parent fc9a7b8413
commit acaf23dd5d
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ endef
define $(PKG)_BUILD_COMMON
cd '$(1)' && GNUMAKE=$(MAKE) ./configure --with-harfbuzz=yes \
$(MXE_CONFIGURE_OPTS) \
--enable-freetype-config \
LIBPNG_CFLAGS="`$(TARGET)-pkg-config libpng --cflags`" \
LIBPNG_LDFLAGS="`$(TARGET)-pkg-config libpng --libs`" \
FT2_EXTRA_LIBS="`$(TARGET)-pkg-config libpng --libs`" \