--- tools/lldb/lib/Makefile.orig 2015-07-14 20:25:19 UTC +++ tools/lldb/lib/Makefile @@ -93,6 +93,7 @@ USEDLIBS = lldbAPI.a \ lldbPluginPlatformMacOSX.a \ lldbPluginPlatformLinux.a \ lldbPluginPlatformWindows.a \ + lldbPluginPlatformBSDSUniX.a \ lldbPluginPlatformFreeBSD.a \ lldbPluginPlatformPOSIX.a \ lldbPluginPlatformKalimba.a \ @@ -134,6 +135,13 @@ ifeq ($(HOST_OS),MingW) lldbPluginJITLoaderGDB.a endif +ifneq (,$(filter $(HOST_OS), BSDSUniX)) + USEDLIBS += lldbPluginProcessPOSIX.a \ + lldbPluginProcessBSDSUniX.a \ + lldbPluginProcessElfCore.a \ + lldbPluginJITLoaderGDB.a +endif + ifneq (,$(filter $(HOST_OS), FreeBSD GNU/kFreeBSD)) USEDLIBS += lldbPluginProcessPOSIX.a \ lldbPluginProcessFreeBSD.a \ @@ -186,7 +194,7 @@ ifeq ($(HOST_OS), $(filter $(HOST_OS), L LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT) endif -ifeq ($(HOST_OS),FreeBSD) +ifeq ($(HOST_OS), $(filter $(HOST_OS), FreeBSD BSDSUniX) # Include everything from the .a's into the shared library. ProjLibsOptions := -Wl,--whole-archive $(ProjLibsOptions) \ -Wl,--no-whole-archive