Skip to contentSkip to conversation

sqlcipher: fix static linking

PATCH New Gustavo Zacarias 2 participants 2 messages Sep 16, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/

---
 package/sqlcipher/sqlcipher.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/sqlcipher/sqlcipher.mk +1 -1
index bae59bb..7c93620 100644
@@ -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
Signature · 1 line
1.8.5.5
#1 lore raw

PATCH 1/1 sqlcipher: fix static linking

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

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/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard