From 72383185a8079365ef1a41adc18f840f39ce8fcb Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 13 Apr 2019 00:32:37 +0200 Subject: README: LD_PRELOAD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- README | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README b/README index 4ad036f..870e54d 100644 --- a/README +++ b/README @@ -7,4 +7,6 @@ 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. +put -lerror-backtrace before -lerror, alternative +the library can be loaded with LD_PRELOAD if liberror +is dynamic linked. -- cgit v1.2.3-70-g09d2