2018-02-15 00:14:36 +01:00
|
|
|
From 3deafc5a5c28faaafb1f1ec52d32c9fc5df2986d 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-02-15 00:14:36 +01:00
|
|
|
Subject: [PATCH 11/32] Fix linking against static freetype2
|
2017-01-23 21:37:13 +01:00
|
|
|
|
|
|
|
---
|
|
|
|
src/gui/configure.json | 7 +++++--
|
|
|
|
1 file changed, 5 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/src/gui/configure.json b/src/gui/configure.json
|
2018-02-15 00:14:36 +01:00
|
|
|
index bc501bd3fc..f7a4a39fd4 100644
|
2017-01-23 21:37:13 +01:00
|
|
|
--- a/src/gui/configure.json
|
|
|
|
+++ b/src/gui/configure.json
|
2017-12-08 19:49:53 +01:00
|
|
|
@@ -158,8 +158,11 @@
|
2017-10-13 21:29:48 +02:00
|
|
|
]
|
|
|
|
},
|
2017-01-23 21:37:13 +01:00
|
|
|
"sources": [
|
|
|
|
- { "type": "pkgConfig", "args": "freetype2" },
|
|
|
|
- { "type": "freetype", "libs": "-lfreetype" }
|
|
|
|
+ { "type": "pkgConfig", "args": "--static --libs freetype2", "condition": "!features.shared" },
|
|
|
|
+ { "type": "pkgConfig", "args": "--libs freetype2", "condition": "features.shared" },
|
|
|
|
+ { "libs": "-lfreetype -lharfbuzz -lfreetype -lglib-2.0 -lintl -lws2_32 -lole32 -lwinmm -lshlwapi -lpcre -lintl -lpcre -lintl -liconv -lgraphite2 -lbz2", "condition": "!features.shared" },
|
|
|
|
+ { "libs": "-Wl,-Bdynamic -lfreetype -Wl,-Bstatic", "condition": "!features.shared" },
|
|
|
|
+ { "libs": "-lfreetype", "condition": "features.shared" }
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"fontconfig": {
|
|
|
|
--
|
2018-02-15 00:14:36 +01:00
|
|
|
2.16.1
|
2017-01-23 21:37:13 +01:00
|
|
|
|