Skip to content

Commit

Permalink
Seriously disable shared library for sqlite
Browse files Browse the repository at this point in the history
And ensure static one is compiled.
  • Loading branch information
luislavena committed Mar 8, 2013
1 parent f858f83 commit 8c356b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sqlite/sqlite-3.7.15.2.knapfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ recipe "sqlite", "3.7.15.2" do
:md5 => "bcb0ab0b5b30116b2531cfeef3c861b4"

before :configure do
options.configure_args << "--enable-static"
options.configure_args << "--disable-shared"

cflags = "-O2 -DSQLITE_ENABLE_COLUMN_METADATA"
cflags << " -fPIC" if platform.x64? && !platform.mingw?
options.configure_args << "CFLAGS='#{cflags}'"
Expand Down

0 comments on commit 8c356b3

Please sign in to comment.