Link ''with'' all symbols exported to the dynamic symbol table

* This option is needed to allow retrieving of decent back traces using backtrace_symbols_fd (GNU raw back trace extension) has some symbols to work  with

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@5675 4a71c877-e1ca-e34f-864e-861f7616d084
master
Giel van Schijndel 2008-07-26 18:50:29 +00:00
parent 45539212bf
commit 0da42eeaff
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,8 @@ case ${host_os} in
;;
*)
AC_DEFINE([_XOPEN_SOURCE], 600, [Enable POSIX extensions if present])
# Make sure that backtrace_symbols_fd (GNU raw back trace extension) has some symbols to work with
LDFLAGS="-rdynamic ${LDFLAGS}"
;;
esac
AM_CONDITIONAL([MINGW32], test "x$host_os_mingw32" = "xyes")