From: Thomas Petazzoni Date: Sun, 17 Apr 2016 22:17:11 +0200 Subject: [Buildroot] [git commit] package/freeswitch: add optional dependency to libedit Message-ID: <20160417201716.730BA81983@busybox.osuosl.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net commit: https://git.buildroot.net/buildroot/commit/?id=bcf1123b24a46cf2ff0b18808b06db63b11284dc branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- 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 7703763..643a48a 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))