[Buildroot] [git commit] sqlcipher: fix static linking
Peter Korsgaard
peter at korsgaard.com
Tue Sep 16 21:07:21 UTC 2014
commit: http://git.buildroot.net/buildroot/commit/?id=58a41c2f68001b3ef25356cd3f1a79b9e46e7157
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
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 at zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/sqlcipher/sqlcipher.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/sqlcipher/sqlcipher.mk b/package/sqlcipher/sqlcipher.mk
index bae59bb..7c93620 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
More information about the buildroot
mailing list