Commit fefff970 authored by Jonas Devlieghere's avatar Jonas Devlieghere
Browse files

[lldb/debugserver] Link against Security

parent 6dccad75
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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