[Buildroot] [git commit] package/freeswitch: add optional dependency to unixodbc
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Apr 17 20:17:11 UTC 2016
commit: https://git.buildroot.net/buildroot/commit/?id=df15486ef51e61960a5eb68a13ec8b7257ccb9a3
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
package/freeswitch/freeswitch.mk | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index c00fc85..6a5a2c6 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))
More information about the buildroot
mailing list