Author: Jonas Devlieghere Date: 2020-02-05T14:52:08-08:00 New Revision: fefff970321a4fe0b717f3679e291bd53ee82ef6
URL: https://github.com/llvm/llvm-project/commit/fefff970321a4fe0b717f3679e291bd53ee82ef6 DIFF: https://github.com/llvm/llvm-project/commit/fefff970321a4fe0b717f3679e291bd53ee82ef6.diff LOG: [lldb/debugserver] Link against Security Added: Modified: lldb/tools/debugserver/source/CMakeLists.txt Removed: ################################################################################ diff --git a/lldb/tools/debugserver/source/CMakeLists.txt b/lldb/tools/debugserver/source/CMakeLists.txt index 5b604126e47d..ef8dcd1f5353 100644 --- a/lldb/tools/debugserver/source/CMakeLists.txt +++ b/lldb/tools/debugserver/source/CMakeLists.txt @@ -82,6 +82,8 @@ endif () check_library_exists(compression compression_encode_buffer "" HAVE_LIBCOMPRESSION) +find_library(SECURITY_LIBRARY Security) + add_subdirectory(MacOSX) set(LLDB_CODESIGN_IDENTITY "" CACHE STRING @@ -202,6 +204,8 @@ target_link_libraries(lldbDebugserverCommon ${LOCKDOWN_LIBRARY} lldbDebugserverArchSupport lldbDebugserverDarwin_DarwinLog + ${FOUNDATION_LIBRARY} + ${SECURITY_LIBRARY} ${LIBCOMPRESSION}) if(HAVE_LIBCOMPRESSION) set_property(TARGET lldbDebugserverCommon APPEND PROPERTY @@ -265,6 +269,7 @@ if(IOS) ${FOUNDATION_LIBRARY} lldbDebugserverArchSupport lldbDebugserverDarwin_DarwinLog + ${SECURITY_LIBRARY} ${LIBCOMPRESSION}) if(HAVE_LIBCOMPRESSION) set_property(TARGET lldbDebugserverCommon_NonUI APPEND PROPERTY _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits