diff options
author | Adam <Adam@anope.org> | 2012-04-10 12:43:03 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-04-10 12:43:03 -0400 |
commit | d6067d1d4a313222d251b4ad7f292f154afe5532 (patch) | |
tree | edfe16d045cd2cfdeb65f35ce33a2e8f71ec7c11 | |
parent | 42e94b30c8ae18bdc25247c755496fec6a5124eb (diff) |
Fixed linking m_sqlite3 on Windows
-rw-r--r-- | src/modules/extra/m_sqlite3.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp index 3809ac738..0f99b7f1a 100644 --- a/src/modules/extra/m_sqlite3.cpp +++ b/src/modules/extra/m_sqlite3.cpp @@ -15,6 +15,10 @@ #include <sqlite3.h> #include "sql.h" +#ifdef WINDOWS +# pragma comment(lib, "sqlite3.lib") +#endif + /* $ModDesc: sqlite3 provider */ /* $CompileFlags: pkgconfversion("sqlite3","3.3") pkgconfincludes("sqlite3","/sqlite3.h","") */ /* $LinkerFlags: pkgconflibs("sqlite3","/libsqlite3.so","-lsqlite3") */ |