From: Fabrice Fontaine Date: Sat, 9 Mar 2019 16:28:15 +0000 (+0100) Subject: package/sqlcipher: fix static build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7144c8169755b58ffbad27e0e5ff0963df2fda2d;p=buildroot.git package/sqlcipher: fix static build Fixes: - http://autobuild.buildroot.org/results/ebd8678a56a7dd8679fd4ec3ca1385c04866cc88 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/sqlcipher/sqlcipher.mk b/package/sqlcipher/sqlcipher.mk index fcca3b7254..4427344120 100644 --- a/package/sqlcipher/sqlcipher.mk +++ b/package/sqlcipher/sqlcipher.mk @@ -33,4 +33,10 @@ else SQLCIPHER_CONF_OPTS += --disable-readline endif +ifeq ($(BR2_STATIC_LIBS),y) +SQLCIPHER_CONF_OPTS += --disable-load-extension +else +SQLCIPHER_CONF_OPTS += --enable-load-extension +endif + $(eval $(autotools-package))