2018-12-08 22:06:32 +01:00
|
|
|
From f4d9c0c1b22a122df1393b47d485a0f4416ad8bc Mon Sep 17 00:00:00 2001
|
2017-01-23 21:37:13 +01:00
|
|
|
From: Martchus <martchus@gmx.net>
|
|
|
|
Date: Fri, 3 Feb 2017 20:51:19 +0100
|
2018-09-19 20:39:07 +02:00
|
|
|
Subject: [PATCH 11/33] Fix linking against static freetype2
|
2017-01-23 21:37:13 +01:00
|
|
|
|
|
|
|
---
|
2018-12-08 22:06:32 +01:00
|
|
|
src/gui/configure.json | 9 ++++++---
|
|
|
|
1 file changed, 6 insertions(+), 3 deletions(-)
|
2017-01-23 21:37:13 +01:00
|
|
|
|
|
|
|
diff --git a/src/gui/configure.json b/src/gui/configure.json
|
2018-12-08 22:06:32 +01:00
|
|
|
index dbb6f708b0..a7ffa0f113 100644
|
2017-01-23 21:37:13 +01:00
|
|
|
--- a/src/gui/configure.json
|
|
|
|
+++ b/src/gui/configure.json
|
2018-12-08 22:06:32 +01:00
|
|
|
@@ -163,9 +163,12 @@
|
2017-10-13 21:29:48 +02:00
|
|
|
]
|
|
|
|
},
|
2017-01-23 21:37:13 +01:00
|
|
|
"sources": [
|
|
|
|
- { "type": "pkgConfig", "args": "freetype2" },
|
2018-12-08 22:06:32 +01:00
|
|
|
- { "type": "freetype", "libs": "-lfreetype", "condition": "!config.wasm" },
|
|
|
|
- { "type": "freetype", "libs": "-s USE_FREETYPE=1", "condition": "config.wasm" }
|
2017-01-23 21:37:13 +01:00
|
|
|
+ { "type": "pkgConfig", "args": "--static --libs freetype2", "condition": "!features.shared" },
|
|
|
|
+ { "type": "pkgConfig", "args": "--libs freetype2", "condition": "features.shared" },
|
2018-12-08 22:06:32 +01:00
|
|
|
+ { "libs": "-lfreetype -lharfbuzz -lfreetype -lglib-2.0 -lintl -lws2_32 -lole32 -lwinmm -lshlwapi -lpcre -lintl -lpcre -lintl -liconv -lgraphite2 -lbz2", "condition": "!features.shared && !config.wasm" },
|
|
|
|
+ { "libs": "-Wl,-Bdynamic -lfreetype -Wl,-Bstatic", "condition": "!features.shared && !config.wasm" },
|
|
|
|
+ { "libs": "-lfreetype", "condition": "features.shared && !config.wasm" },
|
|
|
|
+ { "type": "freetype", "libs": "-s USE_FREETYPE=1", "condition": "features.shared && config.wasm" }
|
2017-01-23 21:37:13 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"fontconfig": {
|
|
|
|
--
|
2018-12-08 22:06:32 +01:00
|
|
|
2.19.2
|
2017-01-23 21:37:13 +01:00
|
|
|
|