Skip to content

Commit

Permalink
fix linux sqlite3 build options
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsink committed Sep 15, 2016
1 parent 2187dab commit 0ff83e7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,14 @@ In general, nobody cares about this. The bundles do the right thing.
But the options are there for people who need fine-grained control
over such things.

# e\_sqlite3 builds for Linux and Mac

SQLitePCLRaw.lib.e\_sqlite3 packages are provided for
Linux and Mac. Both bundle\_green and bundle\_e\_sqlite3
have a dependency on these for net35/net40/net45, so
that these bundles will "do the right thing" when used
with Mono on Linux and Mac.

# NetStandard

Release 1.0 supports netstandard. However, it also still
Expand All @@ -303,6 +311,8 @@ These environments do not support pinvoke, so it's a
special case. The e\_sqlite3 provider is the only one
available.

Note that bundle\_green and bundle\_e\_sqlite3 both support Windows Phone Silverlight.

# CONTENT BELOW THIS LINE IS NOT FULLY UPDATED FOR 1.0

## How do I build this?
Expand Down
3 changes: 1 addition & 2 deletions linux/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/sh
# TODO use same options as other platforms
gcc -shared -fPIC -O -o libe_sqlite3.so ../sqlite3/sqlite3.c -lc
gcc -shared -fPIC -O -DNDEBUG -DSQLITE_DEFAULT_FOREIGN_KEYS=1 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -o libe_sqlite3.so ../sqlite3/sqlite3.c

Binary file modified linux/libe_sqlite3.so
Binary file not shown.

0 comments on commit 0ff83e7

Please sign in to comment.