diff options
author | Mathias Krause <minipli@googlemail.com> | 2011-06-15 23:03:38 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2011-06-16 10:17:39 +0200 |
commit | 203db2952bc87f5d610c9ad53a7d02b85897721f (patch) | |
tree | 215302011c4fa0669e1856466dc077bf9245f0fa /kernel/rcutree_plugin.h | |
parent | afbee42706090fa59dac299c9607e4fd4361ec82 (diff) | |
download | linux-203db2952bc87f5d610c9ad53a7d02b85897721f.tar.bz2 |
tools/perf: Fix static build of perf tool
To build a statically linked version of the perf tool all needed
libraries must be added in the correct order to get the symbols
resolved. Currently this is broken when, e.g. python or newt
support is enabled -- libpython needs libpthread which is an
unconditional link dependency of the perf tool; libslang needs
libm, another unconditional dependency. To solve the problem in
the long run without the need to keep track of transitive
library dependencies, simply make the linker look at the EXTLIBS
multiple times until it has all symbols resolved.
Signed-off-by: Mathias Krause <minipli@googlemail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Link: http://lkml.kernel.org/r/1308171818-20370-1-git-send-email-minipli@googlemail.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/rcutree_plugin.h')
0 files changed, 0 insertions, 0 deletions