--- tools/lldb/tools/lldb-server/Makefile.orig 2015-06-29 21:52:45 UTC +++ tools/lldb/tools/lldb-server/Makefile @@ -20,6 +20,6 @@ ifeq ($(HOST_OS),Darwin) LLVMLibsOptions += -Wl,-rpath,@loader_path/../lib/ endif -ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux FreeBSD GNU/kFreeBSD)) +ifeq ($(HOST_OS), $(filter $(HOST_OS), BSDSUniX Linux FreeBSD GNU/kFreeBSD)) LLVMLibsOptions += -Wl,-rpath,$(LibDir) -lpthread endif