--- tools/lldb/cmake/LLDBDependencies.cmake.orig 2016-12-17 23:48:06.000000000 +1100 +++ tools/lldb/cmake/LLDBDependencies.cmake 2020-05-15 07:27:47.547478000 +1000 @@ -38,6 +38,7 @@ lldbPluginProcessUtility lldbPluginPlatformAndroid lldbPluginPlatformGDB + lldbPluginPlatformBSDSUniX lldbPluginPlatformFreeBSD lldbPluginPlatformKalimba lldbPluginPlatformLinux @@ -104,6 +105,14 @@ ) endif () +# BSDSUniX-only libraries +if ( CMAKE_SYSTEM_NAME MATCHES "BSDSUniX" ) + list(APPEND LLDB_USED_LIBS + lldbPluginProcessBSDSUniX + lldbPluginProcessPOSIX + ) +endif () + # FreeBSD-only libraries if ( CMAKE_SYSTEM_NAME MATCHES "FreeBSD" ) list(APPEND LLDB_USED_LIBS