fixes DLL hell on Windows

This commit is contained in:
Araq
2015-09-05 12:03:53 +02:00
committed by ringabout
parent 40aa0294f3
commit ba218f8a80

View File

@@ -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"