package/lttng-tools: needs dynamic library support
authorSamuel Martin <s.martin49@gmail.com>
Sat, 23 Jan 2016 10:52:22 +0000 (11:52 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 23 Jan 2016 10:59:58 +0000 (11:59 +0100)
Fixes:
  http://autobuild.buildroot.net/results/b48bc7ad4bede4d16c079da0ae1121e6796a0e8d/
  http://autobuild.buildroot.net/results/25dcb19c3dd32e50990f9b45053d71ea18746a80/
  http://autobuild.buildroot.net/results/a3f93498811491d37ba13d024e33e68a8bc7ba18/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/lttng-tools/Config.in

index 7808ba3abe3f6bc9e2ce8a495569cc19c62009aa..b758d32f453a7272c33f4d4c8413d5dec94f3e88 100644 (file)
@@ -6,6 +6,7 @@ config BR2_PACKAGE_LTTNG_TOOLS
        depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
        depends on BR2_USE_WCHAR # util-linux
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_STATIC_LIBS # uses dlfcn
        select BR2_PACKAGE_LIBURCU
        select BR2_PACKAGE_LIBXML2
        select BR2_PACKAGE_POPT
@@ -29,9 +30,9 @@ config BR2_PACKAGE_LTTNG_TOOLS
 
          http://lttng.org
 
-comment "lttng-tools needs a toolchain w/ threads, wchar"
+comment "lttng-tools needs a toolchain w/ threads, wchar, dynamic library"
        depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
-       depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || BR2_STATIC_LIBS
        depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # lttng-tools/gcc-4.{7,8}.x bug
        depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug