From 38b3a06ebd65bab1765c95537eb8503286e31754 Mon Sep 17 00:00:00 2001 From: Martchus Date: Sun, 18 Sep 2016 14:22:56 +0200 Subject: [PATCH 12/33] Fix linking against static harfbuzz --- src/gui/configure.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gui/configure.json b/src/gui/configure.json index 27f8257c18..1a87110831 100644 --- a/src/gui/configure.json +++ b/src/gui/configure.json @@ -221,7 +221,11 @@ ] }, "sources": [ - "-lharfbuzz" + { "type": "pkgConfig", "args": "--static --libs harfbuzz", "condition": "!features.shared" }, + { "type": "pkgConfig", "args": "--libs harfbuzz", "condition": "features.shared" }, + { "libs": "-lharfbuzz -lfreetype -lharfbuzz -lglib-2.0 -lintl -lws2_32 -lole32 -lwinmm -lshlwapi -lpcre -lintl -lpcre -lintl -liconv -lgraphite2 -lbz2", "condition": "!features.shared" }, + { "libs": "-Wl,-Bdynamic -lharfbuzz -Wl,-Bstatic", "condition": "!features.shared" }, + { "libs": "-lharfbuzz", "condition": "features.shared" } ] }, "imf": { -- 2.14.2