2024-01-07 21:14:04 +01:00
|
|
|
From 029df9db41b422111966430faa85fa12d96bdde4 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
|
2022-09-09 19:02:45 +02:00
|
|
|
Subject: [PATCH 10/32] Fix linking against static freetype2
|
2017-01-23 21:37:13 +01:00
|
|
|
|
|
|
|
---
|
2021-08-26 21:24:07 +02:00
|
|
|
src/gui/configure.json | 6 ++++--
|
|
|
|
1 file changed, 4 insertions(+), 2 deletions(-)
|
2017-01-23 21:37:13 +01:00
|
|
|
|
|
|
|
diff --git a/src/gui/configure.json b/src/gui/configure.json
|
2024-01-07 21:14:04 +01:00
|
|
|
index e0043542ec..6c5e99fa9a 100644
|
2017-01-23 21:37:13 +01:00
|
|
|
--- a/src/gui/configure.json
|
|
|
|
+++ b/src/gui/configure.json
|
2021-08-26 21:24:07 +02:00
|
|
|
@@ -238,8 +238,10 @@
|
2017-10-13 21:29:48 +02:00
|
|
|
},
|
2019-02-02 18:18:25 +01:00
|
|
|
"headers": "ft2build.h",
|
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" },
|
2017-01-23 21:37:13 +01:00
|
|
|
+ { "type": "pkgConfig", "args": "--libs freetype2", "condition": "features.shared" },
|
2024-01-07 21:14:04 +01:00
|
|
|
+ { "libs": "-lfreetype -lharfbuzz -lfreetype -lbrotlidec -lbrotlicommon -lglib-2.0 -lintl -lws2_32 -lole32 -lwinmm -lshlwapi -lpcre2-8 -lintl -lpcre2-8 -lintl -liconv -lgraphite2 -lbz2", "condition": "!features.shared && !config.wasm" },
|
2018-12-08 22:06:32 +01:00
|
|
|
+ { "libs": "-Wl,-Bdynamic -lfreetype -Wl,-Bstatic", "condition": "!features.shared && !config.wasm" },
|
|
|
|
+ { "libs": "-lfreetype", "condition": "features.shared && !config.wasm" },
|
2019-03-16 16:58:50 +01:00
|
|
|
{ "libs": "-s USE_FREETYPE=1", "condition": "config.wasm" },
|
|
|
|
{ "libs": "-lfreetype" }
|
2019-02-02 18:18:25 +01:00
|
|
|
],
|
2017-01-23 21:37:13 +01:00
|
|
|
--
|
2024-01-04 16:09:11 +01:00
|
|
|
2.43.0
|
2017-01-23 21:37:13 +01:00
|
|
|
|