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 | d43ccbfd79e5d9e6813cac97733a89ca0504221f (patch) | |
tree | 5874c3217f911c015209dadc311291a73d4dd7b6 /libcxxabi/cmake | |
parent | 328bbc367128e49fa3dba0f46c20e06fd1245d3e (diff) |
libcxxabi must link to dl if using bundled unwind
Patch by Ismail Donmez
http://reviews.llvm.org/D4953
Diffstat (limited to 'libcxxabi/cmake')
-rw-r--r-- | libcxxabi/cmake/config-ix.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxxabi/cmake/config-ix.cmake b/libcxxabi/cmake/config-ix.cmake index bf444fbf964..cbf5c788cb3 100644 --- a/libcxxabi/cmake/config-ix.cmake +++ b/libcxxabi/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) |