Преглед на файлове

Fixed linux sqlite build issue.

Mark Sibly преди 6 години
родител
ревизия
49f8d8e999
променени са 2 файла, в които са добавени 5 реда и са изтрити 1 реда
  1. 4 1
      modules/sqlite/sqlite-amalgamation/sqlite3.c
  2. 1 0
      modules/sqlite/sqlite-amalgamation/sqlite3.h

+ 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++.