package/freeswitch: add optional support for postgresql
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
16012f56ca
commit
71b9679034
|
@ -275,6 +275,17 @@ FREESWITCH_DEPENDENCIES += opencv
|
|||
FREESWITCH_ENABLED_MODULES += applications/mod_cv
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_POSTGRESQL),y)
|
||||
FREESWITCH_CONF_ENV += \
|
||||
ac_cv_path_PG_CONFIG=$(STAGING_DIR)/usr/bin/pg_config
|
||||
FREESWITCH_CONF_OPTS += \
|
||||
--enable-core-pgsql-pkgconfig \
|
||||
--enable-core-pgsql-support
|
||||
FREESWITCH_DEPENDENCIES += postgresql
|
||||
else
|
||||
FREESWITCH_CONF_OPTS += --disable-core-pgsql-support
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
|
||||
FREESWITCH_DEPENDENCIES += unixodbc
|
||||
FREESWITCH_CONF_OPTS += \
|
||||
|
|
Loading…
Reference in a new issue