- Change configuration files path to %NIM%/etc/nim. - Change the system library path to %NIM%/lib/nim. - Change DLL name from nimrtl.dll to libnimrtl.dll. - Add DLL of MinGW to DLL name of pcre wrapper. - Add DLL of MinGW to DLL name of sqlite3 wrapper. - Change the installation destination of the configuration file to %NIM%/etc/nim. - Change the installation destination of the nimrtl.dll to %NIM%/bin.
17 lines
554 B
Diff
17 lines
554 B
Diff
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:
|