From fc2c4edcbda8be88900201383b5113e234b09d71 Mon Sep 17 00:00:00 2001 From: Tim Blechmann Date: Wed, 10 May 2017 12:56:51 +0200 Subject: configure: fix linking with statically linked freetype freetype depends on zlib. using statically linked freetype as system library lacks the usage requirement to link with zlib. so we need to add this manually. Task-number: QTBUG-63115 Change-Id: Iaf0f3027bd9d1386fcc1ecfbfbe07ab09b2d0bb9 Reviewed-by: Oswald Buddenhagen Reviewed-by: Joerg Bornemann --- src/gui/configure.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/gui/configure.json b/src/gui/configure.json index 6a2f1fe434..0d4f167d47 100644 --- a/src/gui/configure.json +++ b/src/gui/configure.json @@ -164,6 +164,9 @@ { "type": "pkgConfig", "args": "freetype2" }, { "type": "freetype", "libs": "-lfreetype", "condition": "!config.wasm" }, { "type": "freetype", "libs": "-s USE_FREETYPE=1", "condition": "config.wasm" } + ], + "use": [ + { "lib": "zlib", "condition": "features.system-zlib" } ] }, "fontconfig": { -- cgit v1.2.3