[Buildroot] [PATCH v13 03/26] package/freeswitch: add optional dependency to libedit
Bernd Kuhls
bernd.kuhls at t-online.de
Thu Apr 14 19:31:37 UTC 2016
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
package/freeswitch/freeswitch.mk | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 717ada1..c583ffa 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-libedit-support \
--disable-core-odbc-support \
--disable-libvpx \
--disable-libyuv \
@@ -152,4 +151,11 @@ endef
FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES
+ifeq ($(BR2_PACKAGE_LIBEDIT),y)
+FREESWITCH_DEPENDENCIES += libedit
+FREESWITCH_CONF_OPTS += --enable-core-libedit-support
+else
+FREESWITCH_CONF_OPTS += --disable-core-libedit-support
+endif
+
$(eval $(autotools-package))
--
2.8.0.rc3
More information about the buildroot
mailing list