summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-04-10 12:43:03 -0400
committerAdam <Adam@anope.org>2012-04-10 12:43:03 -0400
commitd6067d1d4a313222d251b4ad7f292f154afe5532 (patch)
treeedfe16d045cd2cfdeb65f35ce33a2e8f71ec7c11 /src
parent42e94b30c8ae18bdc25247c755496fec6a5124eb (diff)
Fixed linking m_sqlite3 on Windows
Diffstat (limited to 'src')
-rw-r--r--src/modules/extra/m_sqlite3.cpp4
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") */