summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-04-17 17:24:25 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-04-17 22:17:11 +0200
commitbcf1123b24a46cf2ff0b18808b06db63b11284dc (patch)
treebc79833880a12535b19e132bf20959ca80474b94
parentffd066017ae4229793b2e903d2b5fe2652fa9fae (diff)
downloadbuildroot-bcf1123b24a46cf2ff0b18808b06db63b11284dc.tar.gz
buildroot-bcf1123b24a46cf2ff0b18808b06db63b11284dc.zip
package/freeswitch: add optional dependency to libedit
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.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index 77037634af..643a48afb4 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-libedit-support \
--disable-core-odbc-support \
--disable-libvpx \
--disable-libyuv \
@@ -160,4 +159,11 @@ define FREESWITCH_ENABLE_MODULES
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))
OpenPOWER on IntegriCloud