change linker flag to "-lexecinfo"

This commit is contained in:
Andrew Bauer 2016-03-10 15:00:21 -06:00
parent 46b40458eb
commit 1d478a3b1c
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ if (HAVE_EXECINFO_H)
if (NOT HAVE_DECL_BACKTRACE)
find_library (EXECINFO_LIBRARY NAMES execinfo)
if (EXECINFO_LIBRARY)
list(APPEND ZM_BIN_LIBS "-l${EXECINFO_LIBRARY}")
list(APPEND ZM_BIN_LIBS "-lexecinfo")
endif (EXECINFO_LIBRARY)
endif (NOT HAVE_DECL_BACKTRACE)
check_function_exists("backtrace_symbols" HAVE_DECL_BACKTRACE_SYMBOLS)