mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
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
|
FREESWITCH_ENABLED_MODULES += applications/mod_cv
|
||||||
endif
|
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)
|
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
|
||||||
FREESWITCH_DEPENDENCIES += unixodbc
|
FREESWITCH_DEPENDENCIES += unixodbc
|
||||||
FREESWITCH_CONF_OPTS += \
|
FREESWITCH_CONF_OPTS += \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user