Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(169)

Unified Diff: third_party/sqlite/src/mkextu.sh

Issue 694353003: Get `gn gen` to succeed on Windows (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: remove GYP_DEFINES code Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/mkdll.sh ('k') | third_party/sqlite/src/mkextw.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/mkextu.sh
diff --git a/third_party/sqlite/src/mkextu.sh b/third_party/sqlite/src/mkextu.sh
new file mode 100644
index 0000000000000000000000000000000000000000..1d968977694309800cdcc6ade0d32796571ad8b0
--- /dev/null
+++ b/third_party/sqlite/src/mkextu.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# This script is used to compile SQLite into a shared library on Linux.
+#
+# Two separate shared libraries are generated. "sqlite3.so" is the core
+# library. "tclsqlite3.so" contains the TCL bindings and is the
+# library that is loaded into TCL in order to run SQLite.
+#
+CFLAGS=-O2 -Wall
+make fts2amal.c
+echo gcc $CFLAGS -shared fts2amal.c -o fts2.so
+gcc $CFLAGS -shared fts2amal.c -o fts2.so
+strip fts2.so
« no previous file with comments | « third_party/sqlite/src/mkdll.sh ('k') | third_party/sqlite/src/mkextw.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698