change linker flag to "-lexecinfo"
This commit is contained in:
parent
46b40458eb
commit
1d478a3b1c
|
@ -205,7 +205,7 @@ if (HAVE_EXECINFO_H)
|
||||||
if (NOT HAVE_DECL_BACKTRACE)
|
if (NOT HAVE_DECL_BACKTRACE)
|
||||||
find_library (EXECINFO_LIBRARY NAMES execinfo)
|
find_library (EXECINFO_LIBRARY NAMES execinfo)
|
||||||
if (EXECINFO_LIBRARY)
|
if (EXECINFO_LIBRARY)
|
||||||
list(APPEND ZM_BIN_LIBS "-l${EXECINFO_LIBRARY}")
|
list(APPEND ZM_BIN_LIBS "-lexecinfo")
|
||||||
endif (EXECINFO_LIBRARY)
|
endif (EXECINFO_LIBRARY)
|
||||||
endif (NOT HAVE_DECL_BACKTRACE)
|
endif (NOT HAVE_DECL_BACKTRACE)
|
||||||
check_function_exists("backtrace_symbols" HAVE_DECL_BACKTRACE_SYMBOLS)
|
check_function_exists("backtrace_symbols" HAVE_DECL_BACKTRACE_SYMBOLS)
|
||||||
|
|
Loading…
Reference in New Issue