Skip to contentSkip to conversation

package/erlang: disable for static builds

PATCH New Yann E. MORIN 2 participants 2 messages Nov 22, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/erlang: disable for static builds

erlang wants to build shared libs, always.

So, disable erlang when we're building static-only.

Fixes:

    http://autobuild.buildroot.net/results/1ce/1ceaa6925d1ded236d01ae9feb31f5f915f6b51a/
---
 package/erlang/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/erlang/Config.in +3 -2
index 06833b9..0566582 100644
@@ -1,10 +1,11 @@
-comment "erlang needs a toolchain w/ threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "erlang needs a toolchain w/ threads, shared library"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS && BR2_PREFER_STATIC_LIB
 
 config BR2_PACKAGE_ERLANG
 	bool "erlang"
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_PREFER_STATIC_LIB
 	help
 	  Erlang is a programming language used to build massively scalable
 	  soft real-time systems with requirements on high availability.
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 package/erlang: disable for static builds

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

erlang wants to build shared libs, always. So, disable erlang when we're building static-only.

Fixes:

    http://autobuild.buildroot.net/results/1ce/1ceaa6925d1ded236d01ae9feb31f5f915f6b51a/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard