package/apr-util: add optional dependency to mysql
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
d575e2cca6
commit
f187c5fd89
@ -32,6 +32,13 @@ else
|
|||||||
APR_UTIL_CONF_OPTS += --without-gdbm
|
APR_UTIL_CONF_OPTS += --without-gdbm
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_MYSQL),y)
|
||||||
|
APR_UTIL_CONF_OPTS += --with-mysql="$(STAGING_DIR)/usr"
|
||||||
|
APR_UTIL_DEPENDENCIES += mysql
|
||||||
|
else
|
||||||
|
APR_UTIL_CONF_OPTS += --without-mysql
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_SQLITE),y)
|
ifeq ($(BR2_PACKAGE_SQLITE),y)
|
||||||
APR_UTIL_CONF_OPTS += --with-sqlite3="$(STAGING_DIR)/usr"
|
APR_UTIL_CONF_OPTS += --with-sqlite3="$(STAGING_DIR)/usr"
|
||||||
APR_UTIL_DEPENDENCIES += sqlite
|
APR_UTIL_DEPENDENCIES += sqlite
|
||||||
|
Loading…
Reference in New Issue
Block a user