Index: third_party/sqlite/BUILD.gn |
diff --git a/third_party/sqlite/BUILD.gn b/third_party/sqlite/BUILD.gn |
index 526d16b195a5c903c88f575c43b33d81d3603c04..922136913b7d86d2531ceb4360c1c8166c1186a6 100644 |
--- a/third_party/sqlite/BUILD.gn |
+++ b/third_party/sqlite/BUILD.gn |
@@ -14,7 +14,6 @@ source_set("sqlite") { |
cflags = [] |
defines = [ |
- "SQLITE_CORE", |
"SQLITE_ENABLE_FTS3", |
"SQLITE_DISABLE_FTS3_UNICODE", |
"SQLITE_DISABLE_FTS4_DEFERRED", |
@@ -101,6 +100,10 @@ if (is_linux) { |
if (is_ios) { |
source_set("sqlite_regexp") { |
+ defines += [ |
+ # Necessary to statically compile the extension. |
+ "SQLITE_CORE", |
+ ] |
sources = [ |
"src/ext/icu/icu.c", |
] |