From: Gustavo Zacarias Date: Tue, 16 Sep 2014 19:52:30 +0000 (-0300) Subject: sqlcipher: fix static linking X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=58a41c2f68001b3ef25356cd3f1a79b9e46e7157;p=buildroot.git 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 Signed-off-by: Peter Korsgaard --- 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