fixes DLL hell on Windows
This commit is contained in:
parent
49d810f341
commit
0320c0c73b
5 changed files with 41 additions and 7 deletions
|
|
@ -9,8 +9,12 @@
|
|||
|
||||
{.deadCodeElim: on.}
|
||||
when defined(windows):
|
||||
const
|
||||
Lib = "sqlite3.dll"
|
||||
when defined(nimOldDlls):
|
||||
const Lib = "sqlite3.dll"
|
||||
elif defined(cpu64):
|
||||
const Lib = "sqlite3_64.dll"
|
||||
else:
|
||||
const Lib = "sqlite3_32.dll"
|
||||
elif defined(macosx):
|
||||
const
|
||||
Lib = "libsqlite3(|.0).dylib"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue