From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernd Kuhls Date: Sun, 3 Apr 2016 16:18:19 +0200 Subject: [Buildroot] [PATCH v11 07/26] package/freeswitch: add optional dependency to unixodbc In-Reply-To: <1459693118-19072-1-git-send-email-bernd.kuhls@t-online.de> References: <1459693118-19072-1-git-send-email-bernd.kuhls@t-online.de> Message-ID: <1459693118-19072-8-git-send-email-bernd.kuhls@t-online.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Signed-off-by: Bernd Kuhls --- 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 34fc6d4..00bac94 100644 --- a/package/freeswitch/freeswitch.mk +++ b/package/freeswitch/freeswitch.mk @@ -61,7 +61,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 \ @@ -170,6 +169,15 @@ 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 + ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y) FREESWITCH_DEPENDENCIES += util-linux endif -- 2.8.0.rc3