Skip to content

Commit 8c356b3

Browse files
committed
Seriously disable shared library for sqlite
And ensure static one is compiled.
1 parent f858f83 commit 8c356b3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sqlite/sqlite-3.7.15.2.knapfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ recipe "sqlite", "3.7.15.2" do
55
:md5 => "bcb0ab0b5b30116b2531cfeef3c861b4"
66

77
before :configure do
8+
options.configure_args << "--enable-static"
9+
options.configure_args << "--disable-shared"
10+
811
cflags = "-O2 -DSQLITE_ENABLE_COLUMN_METADATA"
912
cflags << " -fPIC" if platform.x64? && !platform.mingw?
1013
options.configure_args << "CFLAGS='#{cflags}'"

0 commit comments

Comments
 (0)