From fefff970321a4fe0b717f3679e291bd53ee82ef6 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Wed, 5 Feb 2020 14:34:15 -0800 Subject: [PATCH] [lldb/debugserver] Link against Security --- lldb/tools/debugserver/source/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lldb/tools/debugserver/source/CMakeLists.txt b/lldb/tools/debugserver/source/CMakeLists.txt index 5b60412..ef8dcd1 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 -- 2.7.4