vcpkg/ports/qt5-base/patches/gui_configure.patch

17 lines
783 B
Diff
Raw Normal View History

diff --git a/src/gui/configure.json b/src/gui/configure.json
index c51e3ceee..7f7e206b6 100644
--- a/src/gui/configure.json
+++ b/src/gui/configure.json
@@ -239,9 +239,9 @@
"headers": "ft2build.h",
"sources": [
{ "type": "pkgConfig", "args": "freetype2" },
- { "type": "freetype", "libs": "-lfreetype", "condition": "!config.wasm" },
+ { "type": "freetype", "libs": "-lbreakfreetypeautofind", "condition": "!config.wasm" },
{ "libs": "-s USE_FREETYPE=1", "condition": "config.wasm" },
- { "libs": "-lfreetype" }
+ { "libs": "-lbreakfreetypeautofind" }
],
"use": [
{ "lib": "zlib", "condition": "features.system-zlib" }