aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jörg Krause <joerg.krause@embedded.rocks>2015-08-02 11:07:19 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-08-03 11:23:03 +0200
commit0399ed064dacf5cc9ce7214a0e660dc6d8ab8b58 (patch)
tree38cb0301e0dccd3eab92d0d5540a31f82b99f24a
parent3dcbb9e56c1c712c505d4b3b67c78936d17d118b (diff)
downloadbuildroot-0399ed064dacf5cc9ce7214a0e660dc6d8ab8b58.tar.gz
buildroot-0399ed064dacf5cc9ce7214a0e660dc6d8ab8b58.tar.bz2
package/nodejs: disable for static build
nodejs requires dlopen(), etc. Fixes: http://autobuild.buildroot.net/results/87d/87dab0186abd7b2737a56b2f939f3aba294e8772/ http://autobuild.buildroot.net/results/be1/be1010a3a31642d49ec3a118858c77fed2f762b8/ [Thomas: add comment explaining that we could support static linking on ARMv5, but we don't do it since it's too much of a corner case.] Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/nodejs/Config.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/nodejs/Config.in b/package/nodejs/Config.in
index c5ec792ab9..329d270762 100644
--- a/package/nodejs/Config.in
+++ b/package/nodejs/Config.in
@@ -8,17 +8,20 @@ config BR2_PACKAGE_NODEJS
depends on !BR2_ARM_CPU_ARMV4
# uses fork()
depends on BR2_USE_MMU
+ # uses dlopen(). On ARMv5, we could technically support static
+ # linking, but that's too much of a corner case to support it.
+ depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_ZLIB
help
Event-driven I/O server-side JavaScript environment based on V8.
http://nodejs.org/
-comment "nodejs needs a toolchain w/ C++, threads"
+comment "nodejs needs a toolchain w/ C++, dynamic library, threads"
depends on BR2_USE_MMU
depends on BR2_arm || BR2_i386 || BR2_x86_64 || BR2_mipsel
depends on !BR2_ARM_CPU_ARMV4
- depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
if BR2_PACKAGE_NODEJS