aboutsummaryrefslogtreecommitdiff
path: root/ports/qt5-base/fix-system-pcre2-linux.patch
blob: 92bdf04cec8f376c2f109878f6c6eaa12d2784b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff -Naur a/src/corelib/configure.json b/src/corelib/configure.json
--- a/src/corelib/configure.json	2018-08-23 02:58:54.544949500 -0400
+++ b/src/corelib/configure.json	2018-08-23 02:59:31.481175300 -0400
@@ -181,8 +181,10 @@
                     "builds": {
                         "debug": "-lpcre2-16d",
                         "release": "-lpcre2-16"
-                    }
-                }
+                    },
+                    "condition": "config.win32"
+                },
+                { "libs": "-lpcre2-16", "condition": "!config.win32" }
             ]
         },
         "pps": {