]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/trace-cmd: does not build on static only, needs dlopen()
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 28 Sep 2014 16:26:29 +0000 (18:26 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 28 Sep 2014 21:20:36 +0000 (23:20 +0200)
Fixes:
    http://autobuild.buildroot.net/results/4d773e0738c1d5adada8c0a4bca312068132fd9b/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/trace-cmd/Config.in

index baa4868137da850f317fc91d39ef33fc2a4e2e27..8b3bc5f7f1cc7f16325e93f800016c7095d134ba 100644 (file)
@@ -4,6 +4,7 @@ config BR2_PACKAGE_TRACE_CMD
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on !BR2_avr32 # AVR32 does not have TLS support
        depends on BR2_USE_MMU # fork()
+       depends on !BR2_PREFER_STATIC_LIB # dlopen()
        help
          Command line reader for ftrace.
 
@@ -14,6 +15,7 @@ config BR2_PACKAGE_TRACE_CMD
 
          http://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git
 
-comment "trace-cmd needs a toolchain w/ largefile, threads"
-       depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
+comment "trace-cmd needs a toolchain w/ largefile, threads, dynamic library"
        depends on BR2_USE_MMU
+       depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS \
+               || BR2_PREFER_STATIC_LIB