Forráskód Böngészése

Fixed linux sqlite build issue.

Mark Sibly 6 éve
szülő
commit
49f8d8e999

+ 4 - 1
modules/sqlite/sqlite-amalgamation/sqlite3.c

@@ -23,11 +23,14 @@
 # define SQLITE_PRIVATE static
 #endif
 
-//Mark was here! tmp fix for androi NDK v 15.2.4203891
+//Mark was here! tmp fix for android NDK v 15.2.4203891
 #if __ANDROID__
 #include <sys/mman.h>
 #endif
 
+// Mark was here! Disable dlopen stuff
+#define SQLITE_OMIT_LOAD_EXTENSION 1
+
 /************** Begin file ctime.c *******************************************/
 /*
 ** 2010 February 23

+ 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 */
 
+// Mark was here! Disable dlopen stuff
 #define SQLITE_OMIT_LOAD_EXTENSION 1
 /*
 ** Make sure we can call this stuff from C++.