[Buildroot] [PATCH v7 03/28] package/freeswitch: add optional dependency to libuuid
Bernd Kuhls
bernd.kuhls at t-online.de
Sat Jan 16 20:44:23 UTC 2016
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
package/freeswitch/Config.in | 4 ++++
package/freeswitch/freeswitch.mk | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/package/freeswitch/Config.in b/package/freeswitch/Config.in
index b52d469..a641008 100644
--- a/package/freeswitch/Config.in
+++ b/package/freeswitch/Config.in
@@ -10,6 +10,10 @@ config BR2_PACKAGE_FREESWITCH
select BR2_PACKAGE_PCRE
select BR2_PACKAGE_SPEEX
select BR2_PACKAGE_SQLITE
+ # "libuuid development package highly recommended!"
+ # https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/build/config/uuid.m4#9
+ select BR2_PACKAGE_UTIL_LINUX if BR2_USE_WCHAR
+ select BR2_PACKAGE_UTIL_LINUX_LIBUUID if BR2_USE_WCHAR
select BR2_PACKAGE_ZLIB
help
FreeSWITCH is a scalable open source cross-platform telephony
diff --git a/package/freeswitch/freeswitch.mk b/package/freeswitch/freeswitch.mk
index f4846c9..2c98c6c 100644
--- a/package/freeswitch/freeswitch.mk
+++ b/package/freeswitch/freeswitch.mk
@@ -162,4 +162,8 @@ endef
FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES
+ifeq ($(BR2_PACKAGE_UTIL_LINUX_LIBUUID),y)
+FREESWITCH_DEPENDENCIES += util-linux
+endif
+
$(eval $(autotools-package))
--
2.7.0.rc3
More information about the buildroot
mailing list