vcpkg/ports/qt5-base/fix-system-pcre2-linux.patch

18 lines
586 B
Diff
Raw Normal View History

diff --git a/src/corelib/configure.json b/src/corelib/configure.json
index a5a1b66..5a48a05 100644
--- a/src/corelib/configure.json
+++ b/src/corelib/configure.json
@@ -163,8 +163,10 @@
"builds": {
"debug": "-lpcre2-16d",
"release": "-lpcre2-16"
- }
- }
+ },
+ "condition": "config.win32"
+ },
+ { "libs": "-lpcre2-16", "condition": "!config.win32" }
]
},
"pps": {