aboutsummaryrefslogtreecommitdiff
path: root/ports/qt5-base/fix-system-pcre2-linux.patch
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-03-27 09:09:38 -0700
committerRobert Schumacher <roschuma@microsoft.com>2018-03-27 09:09:38 -0700
commit26187d1bed865f472caa2dcd2f154a72f7f6d045 (patch)
tree6cfa38c5db05fb0f458c18cc850a9fc70dbcb972 /ports/qt5-base/fix-system-pcre2-linux.patch
parent02185b60828ded3f89f2a7f2cf75402d00dde123 (diff)
downloadvcpkg-26187d1bed865f472caa2dcd2f154a72f7f6d045.tar.gz
vcpkg-26187d1bed865f472caa2dcd2f154a72f7f6d045.zip
[qt5-base] Fix pcre2 reference on non-Windows
Diffstat (limited to 'ports/qt5-base/fix-system-pcre2-linux.patch')
-rw-r--r--ports/qt5-base/fix-system-pcre2-linux.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/ports/qt5-base/fix-system-pcre2-linux.patch b/ports/qt5-base/fix-system-pcre2-linux.patch
new file mode 100644
index 000000000..c5669a4c9
--- /dev/null
+++ b/ports/qt5-base/fix-system-pcre2-linux.patch
@@ -0,0 +1,17 @@
+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": {