Skip to content

Commit b534965

Browse files
committed
适配新版本
1 parent d3696d1 commit b534965

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
@cd build
33
@mkdir imports
44
@gcc -I ..\include -fPIC -s -O3 -c ..\sqlite3.c
5-
@g++ -std=c++11 -I ..\include -shared -static -fPIC -s -O3 ..\sqlite.cpp .\sqlite3.o -o .\imports\sqlite.cse
5+
@g++ -std=c++11 -I%CS_DEV_PATH%\include -I..\include -shared -static -fPIC -s -O3 ..\sqlite.cpp .\sqlite3.o -o .\imports\sqlite.cse -L%CS_DEV_PATH%\lib -lcovscript
66
@del sqlite3.o

sqlite.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* Github: https://github.com/mikecovlee
1919
*/
2020
#include <sqlite/sqlite.hpp>
21-
#include <covscript/extension.hpp>
21+
#include <covscript/dll.hpp>
2222

2323
static cs::namespace_t sqlite_db_ext=cs::make_shared_namespace<cs::name_space>();
2424
static cs::namespace_t sqlite_stmt_ext=cs::make_shared_namespace<cs::name_space>();

0 commit comments

Comments
 (0)