From aa108230cc11eadb37443afe1ee51e6e88baddca Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 13 Apr 2019 00:28:53 +0200 Subject: Fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- README | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index be93f44..4ad036f 100644 --- a/README +++ b/README @@ -1,5 +1,10 @@ Companion library to liberror. It enables backtrace support for liberror. -The library need only be linked, there is no header -file or any functions the user should use. +The library need only be linked, together with -ldw +(from libelf) and -lunwind (libunwind), there is no +header file or any functions the user should use. +Note however, for static linking you may need +-Wl,--whole-archive before and -Wl,--no-whole-archive +after the library when linking; for dynamic linking, +put -lerror-backtrace before -lerror. -- cgit v1.2.3-70-g09d2