fixes DLL hell on Windows
This commit is contained in:
parent
49d810f341
commit
0320c0c73b
5 changed files with 41 additions and 7 deletions
|
|
@ -310,7 +310,12 @@ type
|
|||
|
||||
when not defined(usePcreHeader):
|
||||
when hostOS == "windows":
|
||||
const pcreDll = "pcre.dll"
|
||||
when defined(nimOldDlls):
|
||||
const pcreDll = "pcre.dll"
|
||||
elif defined(cpu64):
|
||||
const pcreDll = "pcre64.dll"
|
||||
else:
|
||||
const pcreDll = "pcre32.dll"
|
||||
elif hostOS == "macosx":
|
||||
const pcreDll = "libpcre(.3|.1|).dylib"
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue