mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 22:56:33 +00:00
package/apr-util: add optional support for postgresql
apr-util contains optional support for postgresql: $ ls -1 output/target/usr/lib/apr-util-1/apr_dbd_pg* output/target/usr/lib/apr-util-1/apr_dbd_pgsql-1.so output/target/usr/lib/apr-util-1/apr_dbd_pgsql.la output/target/usr/lib/apr-util-1/apr_dbd_pgsql.so Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
a568ecef32
commit
1ec1479fbe
@ -54,6 +54,13 @@ else
|
|||||||
APR_UTIL_CONF_OPTS += --without-crypto
|
APR_UTIL_CONF_OPTS += --without-crypto
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
|
||||||
|
APR_UTIL_CONF_OPTS += --with-pgsql="$(STAGING_DIR)/usr"
|
||||||
|
APR_UTIL_DEPENDENCIES += postgresql
|
||||||
|
else
|
||||||
|
APR_UTIL_CONF_OPTS += --without-pgsql
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
|
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
|
||||||
APR_UTIL_CONF_OPTS += --with-odbc="$(STAGING_DIR)/usr"
|
APR_UTIL_CONF_OPTS += --with-odbc="$(STAGING_DIR)/usr"
|
||||||
# avoid using target binary $(STAGING_DIR)/usr/bin/odbc_config
|
# avoid using target binary $(STAGING_DIR)/usr/bin/odbc_config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user