Parcourir la source

lightning: requires share library support

Uses -ldl unconditionally.

Fixes:
http://autobuild.buildroot.net/results/55d/55d30db7212863d9f898bb929f0c75d529036bad/
http://autobuild.buildroot.net/results/6c3/6c37a1cd353b7cac854cc85d29a8232233414c68/
http://autobuild.buildroot.net/results/459/459ab12bc3eeb493f39efa2450bc829a351ee3a3/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Baruch Siach il y a 10 ans
Parent
commit
a371869499
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      package/lightning/Config.in

+ 6 - 0
package/lightning/Config.in

@@ -1,7 +1,13 @@
+comment "lightning needs a toolchain w/ dynamic library"
+	depends on BR2_sparc || BR2_i386 || BR2_x86_64 || BR2_mips || \
+		BR2_mipsel || BR2_arm || BR2_powerpc
+	depends on BR2_STATIC_LIBS
+
 config BR2_PACKAGE_LIGHTNING
 	bool "lightning"
 	depends on BR2_sparc || BR2_i386 || BR2_x86_64 || BR2_mips || \
 		BR2_mipsel || BR2_arm || BR2_powerpc
+	depends on !BR2_STATIC_LIBS
 	help
 	  GNU lightning is a library that generates
 	  assembly language code at run-time.