olsr: needs dynamic library support
authorBaruch Siach <baruch@tkos.co.il>
Tue, 9 Jun 2015 12:15:24 +0000 (15:15 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 9 Jun 2015 19:37:26 +0000 (21:37 +0200)
Fixes:
http://autobuild.buildroot.net/results/08a/08a29bc48667f10d6dce4cb5cbb1ae6bec009e2c/
http://autobuild.buildroot.net/results/33e/33e69998d152f819176c7aa3028a962dd32c1daf/
http://autobuild.buildroot.net/results/e7a/e7aabfc9e80bd36958c6deeb5b02d5ef97629ae4/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/olsr/Config.in

index 70e5a48963311ce1d0c045673d92b55b8f115eb2..a49c4e0f1085a0e4c7bca136a74cf41306af1f27 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_OLSR
        bool "olsrd"
        depends on BR2_USE_MMU # fork()
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_STATIC_LIBS
        help
          The Optimized Link State Routing protocol (OLSR) is a
          routing protocol that is optimised for mobile ad-hoc
@@ -12,6 +13,6 @@ config BR2_PACKAGE_OLSR
 
          http://www.olsr.org/
 
-comment "olsr needs a toolchain w/ threads"
+comment "olsr needs a toolchain w/ threads, dynamic library"
        depends on BR2_USE_MMU
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS