From fffe5d622549f85968ea0be9717b90cbc020be71 Mon Sep 17 00:00:00 2001 From: Eric Lemanissier Date: Mon, 21 Jan 2019 13:14:09 +0100 Subject: [PATCH] configure: handle FREETYPE_* variables This allows the user to set the following variables: FREETYPE_INCDIR FREETYPE_LIBDIR FREETYPE_LIBS Fixes: QTBUG-72765 Change-Id: Ib70b30f355cc2185c45233e0cfe5e6e55acdf2b6 Reviewed-by: Joerg Bornemann --- src/gui/configure.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/configure.json b/src/gui/configure.json index 97883d97ad..70d0817791 100644 --- a/src/gui/configure.json +++ b/src/gui/configure.json @@ -239,7 +239,8 @@ "sources": [ { "type": "pkgConfig", "args": "freetype2" }, { "type": "freetype", "libs": "-lfreetype", "condition": "!config.wasm" }, - { "libs": "-s USE_FREETYPE=1", "condition": "config.wasm" } + { "libs": "-s USE_FREETYPE=1", "condition": "config.wasm" }, + { "libs": "-lfreetype" } ], "use": [ { "lib": "zlib", "condition": "features.system-zlib" }