diff options
author | Jonathan Roelofs <jonathan@codesourcery.com> | 2014-08-18 23:43:43 +0000 |
---|---|---|
committer | Jonathan Roelofs <jonathan@codesourcery.com> | 2014-08-18 23:43:43 +0000 |
commit | d223dfd1b8eb60edeac5050633460cd27e49ab25 (patch) | |
tree | bf621565fe1b4edf5f8dcda0081a6c03a342245d /cmake | |
parent | 95272d2edab0f503e440d1425721161c122dadc6 (diff) |
libcxxabi must link to dl if using bundled unwind
Patch by Ismail Donmez
http://reviews.llvm.org/D4953
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@215950 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/config-ix.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index bf444fb..cbf5c78 100644 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -35,5 +35,6 @@ check_cxx_compiler_flag(/GR- LIBCXXABI_HAS_NO_GR_FLAG) # Check libraries check_library_exists(c printf "" LIBCXXABI_HAS_C_LIB) +check_library_exists(dl dladdr "" LIBCXXABI_HAS_DL_LIB) check_library_exists(pthread pthread_once "" LIBCXXABI_HAS_PTHREAD_LIB) check_library_exists(gcc_eh _Unwind_GetRegionStart "" LIBCXXABI_HAS_GCC_EH_LIB) |