linux/tools/build
Andi Kleen 7aec51cbf0 perf tools: Support static linking with libdw
The Fedora 22 version of libdw requires a couple of extra libraries to
link. With a dynamic link the dependencies are pulled in automatically,
but this doesn't work for static linking. Add the needed libraries
explicitely to the feature probe and the Makefile.

v2: Explicitly check for static linking and only add the dependencies
    when -static is set. This is to avoid regressions on Arnaldo's system.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/1439419717-20601-1-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2015-08-13 14:49:11 -03:00
..
Documentation tools build: Add new build support 2015-02-11 18:30:03 -03:00
feature perf tools: Support static linking with libdw 2015-08-13 14:49:11 -03:00
tests perf build: Do not fail on missing Build file 2015-05-29 12:44:25 -03:00
Build.include tools build: Add new build support 2015-02-11 18:30:03 -03:00
Makefile.build perf tools: Create config.detected into OUTPUT directory 2015-07-01 17:53:49 -03:00
Makefile.feature tools build: Change FEATURE_TESTS and FEATURE_DISPLAY to weak binding 2015-05-18 12:36:46 -03:00