Jelajahi Sumber

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>
Fabrice Fontaine 6 tahun lalu
induk
melakukan
7144c81697
1 mengubah file dengan 6 tambahan dan 0 penghapusan
  1. 6 0
      package/sqlcipher/sqlcipher.mk

+ 6 - 0
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))