fix asterisk build when asterisk-sqlite is selected
[openwrt/svn-archive/archive.git] / openwrt / package / Makefile
index 1c283ac217ff9cfd0d3bb600b1d46f4f1c0875ce..7c8e525db810f78bcc4885a7bc85b4d8e144726e 100644 (file)
@@ -348,6 +348,9 @@ endif
 ifneq ($(BR2_PACKAGE_ASTERISK_MYSQL),)
 asterisk-compile: mysql-compile
 endif
+ifneq ($(BR2_PACKAGE_ASTERISK_SQLITE),)
+asterisk-compile: sqlite2-compile
+endif
 
 freeradius-compile: libtool-compile openssl-compile
 ifneq ($(BR2_PACKAGE_FREERADIUS_MOD_LDAP),)