[Buildroot] [PATCH 1/1] package/erlang-p1-xmpp: Add a missing dependency from a selected package

Johan Oudinet johan.oudinet at gmail.com
Mon Jun 12 13:40:39 UTC 2017


This package selects erlang-p1-stringprep, which depends on
BR2_INSTALL_LIBSTDCPP. Thus, it should also depend on this item.

Signed-off-by: Johan Oudinet <johan.oudinet at gmail.com>
---
 package/erlang-p1-xmpp/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/erlang-p1-xmpp/Config.in b/package/erlang-p1-xmpp/Config.in
index 1d518e2023..c7a68bc800 100644
--- a/package/erlang-p1-xmpp/Config.in
+++ b/package/erlang-p1-xmpp/Config.in
@@ -1,5 +1,9 @@
+comment "erlang-p1-xmpp needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
+
 config BR2_PACKAGE_ERLANG_P1_XMPP
 	bool "erlang-p1-xmpp"
+	depends on BR2_INSTALL_LIBSTDCPP # erlang-p1-stringprep
 	select BR2_PACKAGE_ERLANG_P1_XML
 	select BR2_PACKAGE_ERLANG_P1_STRINGPREP
 	help
-- 
2.11.0



More information about the buildroot mailing list