summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <hans@eds.org>2012-03-30 21:37:55 -0400
committerHans-Christoph Steiner <hans@eds.org>2012-03-31 21:33:26 -0400
commitf9b9771452d9d91fea2344aae2efa511294b8423 (patch)
treeb5ff372713705561632a4cb70c821976bd3539a7
parent9b621ef3ffd283498de0e6b97343c0f2a1037021 (diff)
build tweaks needed for SQLCipher's crypto extension
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules5
2 files changed, 5 insertions, 2 deletions
diff --git a/debian/control b/debian/control
index 41098f8..1bfba0e 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: sqlite3
Section: devel
Priority: optional
Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.hu>
-Build-Depends: dpkg-dev (>= 1.16.0~), debhelper (>= 8.1.2~), hardening-wrapper, autoconf (>= 2.59), libtool (>= 1.5.2), automake, autotools-dev, chrpath, libreadline-dev, tcl8.5-dev
+Build-Depends: dpkg-dev (>= 1.16.0~), debhelper (>= 8.1.2~), hardening-wrapper, autoconf (>= 2.59), libtool (>= 1.5.2), automake, autotools-dev, chrpath, libreadline-dev, tcl8.5-dev, libssl-dev
Build-Conflicts: tcl8.4, tcl8.4-dev
Homepage: http://www.sqlite.org/
Standards-Version: 3.9.3
diff --git a/debian/rules b/debian/rules
index 67c01e5..359cdcf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,7 +33,10 @@ export CFLAGS += -O2 -fno-strict-aliasing \
-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_RTREE=1 -DSQLITE_SOUNDEX=1 \
-DSQLITE_ENABLE_UNLOCK_NOTIFY \
-DSQLITE_OMIT_LOOKASIDE=1 \
- -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1
+ -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1 \
+ -DSQLITE_HAS_CODEC
+
+export LDFLAGS += -lcrypto
/usr/share/dpkg/buildflags.mk: