7aec51cbf0
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> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
test-all.c | ||
test-backtrace.c | ||
test-bionic.c | ||
test-bpf.c | ||
test-compile.c | ||
test-cplus-demangle.c | ||
test-dwarf.c | ||
test-fortify-source.c | ||
test-glibc.c | ||
test-gtk2-infobar.c | ||
test-gtk2.c | ||
test-hello.c | ||
test-libaudit.c | ||
test-libbabeltrace.c | ||
test-libbfd.c | ||
test-libdw-dwarf-unwind.c | ||
test-libelf-getphdrnum.c | ||
test-libelf-mmap.c | ||
test-libelf.c | ||
test-libnuma.c | ||
test-libperl.c | ||
test-libpython-version.c | ||
test-libpython.c | ||
test-libslang.c | ||
test-libunwind-debug-frame.c | ||
test-libunwind.c | ||
test-lzma.c | ||
test-pthread-attr-setaffinity-np.c | ||
test-stackprotector-all.c | ||
test-sync-compare-and-swap.c | ||
test-timerfd.c | ||
test-zlib.c |