gnuradio: depends on shared libs
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Mon, 30 Mar 2015 18:10:26 +0000 (20:10 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 1 Apr 2015 21:45:45 +0000 (23:45 +0200)
volk must be compiled with toolchain built with shared lib to avoid :
attempted static link of dynamic object `../lib/libvolk.so.0.0.0'

[Thomas:
 - rebase after the non-largefile removal.
 - comment must be "dynamic library" not "shared library".]

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gnuradio/Config.in

index 856bf8d6bdb20d53548f8321e47ff4d9d0e58a35..a33deeb51ce4f6be25c15e30134fb4956c958ab9 100644 (file)
@@ -1,12 +1,14 @@
-comment "gnuradio needs a toolchain w/ C++, IPV6, NPTL, wchar"
+comment "gnuradio needs a toolchain w/ C++, IPV6, NPTL, wchar, dynamic library"
        depends on BR2_USE_MMU
        depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-               !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_INET_IPV6
+               !BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_INET_IPV6 || \
+               BR2_STATIC_LIBS
 
 config BR2_PACKAGE_GNURADIO
        bool "gnuradio"
        depends on BR2_INET_IPV6 # boost
        depends on BR2_INSTALL_LIBSTDCPP
+       depends on !BR2_STATIC_LIBS
        depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
        depends on BR2_USE_MMU # use fork()
        depends on BR2_USE_WCHAR # boost