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 | 79b57011dabdc156c26c6f99436536bb42df2f89 (patch) | |
| tree | e94bcc70ab21630eb1ab19611a29c962a3c78e93 /libcxxabi/src | |
| parent | 2e3902793166815ba2bb7b64b742571f3e1243c7 (diff) | |
| download | bcm5719-llvm-79b57011dabdc156c26c6f99436536bb42df2f89.tar.gz bcm5719-llvm-79b57011dabdc156c26c6f99436536bb42df2f89.zip | |
libcxxabi must link to dl if using bundled unwind
Patch by Ismail Donmez
http://reviews.llvm.org/D4953
llvm-svn: 215950
Diffstat (limited to 'libcxxabi/src')
| -rw-r--r-- | libcxxabi/src/Unwind/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxxabi/src/Unwind/CMakeLists.txt b/libcxxabi/src/Unwind/CMakeLists.txt index cc53ff54758..ff22e7f96f7 100644 --- a/libcxxabi/src/Unwind/CMakeLists.txt +++ b/libcxxabi/src/Unwind/CMakeLists.txt @@ -59,6 +59,7 @@ include_directories("${LIBCXXABI_LIBCXX_INCLUDES}") # Generate library list. set(libraries ${LIBCXXABI_CXX_ABI_LIBRARIES}) append_if(libraries LIBCXXABI_HAS_C_LIB c) +append_if(libraries LIBCXXABI_HAS_DL_LIB dl) append_if(libraries LIBCXXABI_HAS_PTHREAD_LIB pthread) target_link_libraries(unwind ${libraries}) |

