package/ulogd: add --with-sqlite option
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Fri, 15 Mar 2019 07:41:42 +0000 (08:41 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 15 Mar 2019 20:46:46 +0000 (21:46 +0100)
Use --with-sqlite and --without-sqlite options

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/ulogd/ulogd.mk

index a2cad406777a1fba0ff7b421e921d72f2774cfa1..1b86c127739d1ee2dcae592f93e12ab8d2dfb35b 100644 (file)
@@ -29,7 +29,10 @@ else
 ULOGD_CONF_OPTS += --without-pgsql
 endif
 ifeq ($(BR2_PACKAGE_SQLITE),y)
+ULOGD_CONF_OPTS += --with-sqlite
 ULOGD_DEPENDENCIES += sqlite
+else
+ULOGD_CONF_OPTS += --without-sqlite
 endif
 else
 ULOGD_CONF_OPTS += --without-mysql --without-pgsql --without-sqlite