Skip to content

Commit

Permalink
build: Use UNW_LOCAL_ONLY
Browse files Browse the repository at this point in the history
  • Loading branch information
lhmouse committed Jan 12, 2024
1 parent cf939cf commit 58aca37
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ AS_VAR_SET([abi_suffix], [beta.0])
AC_CHECK_LIB([dl], [dlopen], [], [AC_MSG_ERROR([dl library not found])])
AC_CHECK_LIB([unwind], [unw_backtrace], [],
[AC_MSG_WARN([libunwind not found; exceptions will not contain backtraces])])
AC_CHECK_LIB([unwind-x86_64], [_Ux86_64_init_local])
AC_CHECK_LIB([pthread], [pthread_create], [], [AC_MSG_ERROR([pthread library not found])])
AC_CHECK_LIB([z], [deflate], [], [AC_MSG_ERROR([zlib not found])])
AC_CHECK_LIB([ssl], [TLS_method], [], [AC_MSG_ERROR([OpenSSL not found])])
Expand Down
1 change: 1 addition & 0 deletions poseidon/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include "utils.hpp"
#include <openssl/rand.h>
#ifdef HAVE_LIBUNWIND
#define UNW_LOCAL_ONLY 1
#include <libunwind.h>
#endif
namespace poseidon {
Expand Down

0 comments on commit 58aca37

Please sign in to comment.