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": {