Skip to contentSkip to conversation

package/lttng-libust: needs shared libraries

PATCH New Yann E. MORIN 2 participants 2 messages May 30, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/lttng-libust: needs shared libraries

Fixes:

    http://autobuild.buildroot.org/results/e89/e8974516173ea74c830b71e400fcbafdd69dea60/
    http://autobuild.buildroot.org/results/cac/cac7015c3be7e34dbeaa6accb59aebebe68eb6d2/
    http://autobuild.buildroot.org/results/4ce/4ce0a35316cd25536b58b50f096b6f75f6e3c1c9/
---
 package/lttng-libust/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/lttng-libust/Config.in +4 -2
index 7c30d78..9eb2966 100644
@@ -8,6 +8,7 @@ config BR2_PACKAGE_LTTNG_LIBUST
 	depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64
 	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_STATIC_LIBS
 	help
 	  Userspace tracing library for the LTTng 2.x tracing
 	  infrastructure. It allows userspace programs to create
@@ -16,9 +17,10 @@ config BR2_PACKAGE_LTTNG_LIBUST
 
 	  http://lttng.org
 
-comment "lttng-libust needs a toolchain w/ wchar, threads"
+comment "lttng-libust needs a toolchain w/ wchar, threadsi, dynamic library"
 	depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64
-	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS \
+		|| BR2_STATIC_LIBS
 	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
 
 comment "lttng-libust needs a toolchain not affected by GCC bug 58854"
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 package/lttng-libust: needs shared libraries

Dear Yann E. MORIN,

Quoted 6 lines · Yann E. MORIN

Fixes:

    http://autobuild.buildroot.org/results/e89/e8974516173ea74c830b71e400fcbafdd69dea60/
    http://autobuild.buildroot.org/results/cac/cac7015c3be7e34dbeaa6accb59aebebe68eb6d2/
    http://autobuild.buildroot.org/results/4ce/4ce0a35316cd25536b58b50f096b6f75f6e3c1c9/

Similar patch already submitted by Baruch:

http://patchwork.ozlabs.org/patch/477562/

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com