aboutsummaryrefslogtreecommitdiff
path: root/package/sqlcipher
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2014-09-16 16:52:30 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-09-16 23:07:21 +0200
commit58a41c2f68001b3ef25356cd3f1a79b9e46e7157 (patch)
tree68609b01008f8565707da671809a073447bc4b38 /package/sqlcipher
parent0112fcfa8c804a0ba596462cb9b6d6b3e84b7d20 (diff)
downloadbuildroot-58a41c2f68001b3ef25356cd3f1a79b9e46e7157.tar.gz
buildroot-58a41c2f68001b3ef25356cd3f1a79b9e46e7157.tar.bz2
sqlcipher: fix static linking
It uses openssl which for buildroot mandates libz, but doesn't link against it so it fails. Fixes: http://autobuild.buildroot.net/results/514/5145617f7c3cece933c845da3c9836d80d062bb6/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/sqlcipher')
-rw-r--r--package/sqlcipher/sqlcipher.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/sqlcipher/sqlcipher.mk b/package/sqlcipher/sqlcipher.mk
index bae59bb63f..7c93620716 100644
--- a/package/sqlcipher/sqlcipher.mk
+++ b/package/sqlcipher/sqlcipher.mk
@@ -19,7 +19,7 @@ SQLCIPHER_CONF_OPT = \
--localstatedir=/var
SQLCIPHER_CFLAGS += -DSQLITE_HAS_CODEC # Required according to the README
-SQLCIPHER_LDFLAGS += -lcrypto
+SQLCIPHER_LDFLAGS += -lcrypto -lz
ifneq ($(BR2_LARGEFILE),y)
# the sqlite configure script fails to define SQLITE_DISABLE_LFS when