2020-05-29 17:30:23 +02:00
|
|
|
From 20070311343c73fc883f64b25246e8659d2f7c1c Mon Sep 17 00:00:00 2001
|
2017-01-23 21:37:13 +01:00
|
|
|
From: Martchus <martchus@gmx.net>
|
|
|
|
Date: Sun, 18 Sep 2016 14:22:56 +0200
|
2020-04-15 11:18:19 +02:00
|
|
|
Subject: [PATCH 11/31] Fix linking against static harfbuzz
|
2017-01-23 21:37:13 +01:00
|
|
|
|
|
|
|
---
|
|
|
|
src/gui/configure.json | 6 +++++-
|
|
|
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/src/gui/configure.json b/src/gui/configure.json
|
2020-05-29 17:30:23 +02:00
|
|
|
index 12c1995708..e7e1728ba4 100644
|
2017-01-23 21:37:13 +01:00
|
|
|
--- a/src/gui/configure.json
|
|
|
|
+++ b/src/gui/configure.json
|
2020-05-29 17:30:23 +02:00
|
|
|
@@ -306,7 +306,11 @@
|
2017-10-13 21:29:48 +02:00
|
|
|
},
|
2019-02-02 18:18:25 +01:00
|
|
|
"headers": "harfbuzz/hb.h",
|
2017-01-23 21:37:13 +01:00
|
|
|
"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": {
|
|
|
|
--
|
2020-05-29 17:30:23 +02:00
|
|
|
2.26.2
|
2017-01-23 21:37:13 +01:00
|
|
|
|