summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/freeswitch/freeswitch.mk10
1 files changed, 9 insertions, 1 deletions
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index c00fc85cfe..6a5a2c6b28 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -69,7 +69,6 @@ FREESWITCH_CONF_ENV += \
ac_cv_gcc_supports_w_no_unused_result=no
FREESWITCH_CONF_OPTS = \
- --disable-core-odbc-support \
--disable-libvpx \
--disable-libyuv \
--without-erlang \
@@ -176,4 +175,13 @@ FREESWITCH_DEPENDENCIES += libpng
FREESWITCH_ENABLED_MODULES += formats/mod_png
endif
+ifeq ($(BR2_PACKAGE_UNIXODBC),y)
+FREESWITCH_DEPENDENCIES += unixodbc
+FREESWITCH_CONF_OPTS += \
+ --enable-core-odbc-support \
+ --with-odbc=$(STAGING_DIR)/usr
+else
+FREESWITCH_CONF_OPTS += --disable-core-odbc-support
+endif
+
$(eval $(autotools-package))
OpenPOWER on IntegriCloud