diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2016-04-17 17:24:28 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-04-17 22:17:11 +0200 |
commit | df15486ef51e61960a5eb68a13ec8b7257ccb9a3 (patch) | |
tree | e8b12a11c1e156c56b55ff77b89463d39f0a3567 | |
parent | 24ceff38683df56914be33d234365d779caa0225 (diff) | |
download | buildroot-df15486ef51e61960a5eb68a13ec8b7257ccb9a3.tar.gz buildroot-df15486ef51e61960a5eb68a13ec8b7257ccb9a3.zip |
package/freeswitch: add optional dependency to unixodbc
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/freeswitch/freeswitch.mk | 10 |
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)) |