Browse Source

Fixed sqlite link issue.

Mark Sibly 6 năm trước cách đây
mục cha
commit
9165e691c3

+ 1 - 1
bin/env_linux.txt

@@ -4,7 +4,7 @@ MX2_THREADS=1
 '***** LINUX DESKTOP TARGET *****
 
 'LD options
-MX2_LD_OPTS_LINUX=
+MX2_LD_OPTS_LINUX=-lpthread
 MX2_LD_OPTS_LINUX_DEBUG=
 MX2_LD_OPTS_LINUX_RELEASE=-s -O3
 

+ 1 - 0
modules/sqlite/sqlite-amalgamation/sqlite3.h

@@ -34,6 +34,7 @@
 #define SQLITE3_H
 #include <stdarg.h>     /* Needed for the definition of va_list */
 
+#define SQLITE_OMIT_LOAD_EXTENSION 1
 /*
 ** Make sure we can call this stuff from C++.
 */

+ 0 - 0
bananas/sqlitetest/sqlitetest.monkey2 → modules/sqlite/tests/test1.monkey2