aboutsummaryrefslogtreecommitdiff
path: root/ports/qt5-base/fix-system-pcre2-linux.patch
blob: c5669a4c9962c2ef2bfbc481ddc54b1f01de3dd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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": {