lightning: requires share library support
authorBaruch Siach <baruch@tkos.co.il>
Tue, 11 Aug 2015 05:38:54 +0000 (08:38 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 18 Aug 2015 09:19:41 +0000 (11:19 +0200)
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>
package/lightning/Config.in

index 8caf39f4025b02d42af48a8ea9ddfbde52bc4c6e..6750114be2c4653973d660ed99fc2d3eff27dcfc 100644 (file)
@@ -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.