package/linux-tools: perf needs dynamic library
traceevent needs dynamic library since its addition in kernel 3.14 andc877bbd8ec
: event-plugin.c:10:10: fatal error: dlfcn.h: No such file or directory 10 | #include <dlfcn.h> | ^~~~~~~~~ Fixes: - http://autobuild.buildroot.org/results/24206071721479a6ba4d0267e7e20ef9498e1e05 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> (cherry picked from commitb1dd0548d3
) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
24c003ea9f
commit
92312a1198
@ -50,6 +50,7 @@ config BR2_PACKAGE_LINUX_TOOLS_PCI
|
||||
config BR2_PACKAGE_LINUX_TOOLS_PERF
|
||||
bool "perf"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_STATIC_LIBS # dlfcn.h
|
||||
select BR2_PACKAGE_LINUX_TOOLS
|
||||
help
|
||||
perf (sometimes "Perf Events" or perf tools, originally
|
||||
@ -69,6 +70,10 @@ config BR2_PACKAGE_LINUX_TOOLS_PERF
|
||||
|
||||
https://perf.wiki.kernel.org/
|
||||
|
||||
comment "perf needs a toolchain w/ dynamic library"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
||||
if BR2_PACKAGE_LINUX_TOOLS_PERF
|
||||
|
||||
config BR2_PACKAGE_LINUX_TOOLS_PERF_TUI
|
||||
|
Loading…
Reference in New Issue
Block a user