aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2019-03-09 17:28:15 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-03-09 21:46:55 +0100
commit7144c8169755b58ffbad27e0e5ff0963df2fda2d (patch)
tree94613514aff92b039008c95639f85fbafcc66856
parent70e0b0565d62dd66755140f5789595c86f81d029 (diff)
downloadbuildroot-7144c8169755b58ffbad27e0e5ff0963df2fda2d.tar.gz
buildroot-7144c8169755b58ffbad27e0e5ff0963df2fda2d.tar.bz2
package/sqlcipher: fix static build
Fixes: - http://autobuild.buildroot.org/results/ebd8678a56a7dd8679fd4ec3ca1385c04866cc88 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/sqlcipher/sqlcipher.mk6
1 files changed, 6 insertions, 0 deletions
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))