blob: 69ba9167601bd3de57dd5927b809bbf324afe013 [file] [log] [blame] [edit]
diff --git a/lib/wrappers/pcre.nim b/lib/wrappers/pcre.nim
index e9e11960c..7c9dbca5e 100644
--- a/lib/wrappers/pcre.nim
+++ b/lib/wrappers/pcre.nim
@@ -313,9 +313,9 @@ when not defined(usePcreHeader):
when defined(nimOldDlls):
const pcreDll = "pcre.dll"
elif defined(cpu64):
- const pcreDll = "pcre64.dll"
+ const pcreDll = "(pcre64|libpcre-1).dll"
else:
- const pcreDll = "pcre32.dll"
+ const pcreDll = "(pcre32|libpcre-1).dll"
elif hostOS == "macosx":
const pcreDll = "libpcre(.3|.1|).dylib"
else: