diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp index 0a98f6a15..d557a53cc 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp @@ -35,6 +35,7 @@ #include "lldb/Utility/StreamString.h" #include "llvm/ADT/SmallString.h" #include "llvm/Support/ScopedPrinter.h" +#include "llvm/Config/llvm-config.h" #include "ProcessGDBRemoteLog.h" @@ -43,7 +44,7 @@ #elif defined(_WIN32) #define DEBUGSERVER_BASENAME "lldb-server.exe" #else -#define DEBUGSERVER_BASENAME "lldb-server" +# define DEBUGSERVER_BASENAME "lldb-server-" LLVM_VERSION_STRING #endif #if defined(HAVE_LIBCOMPRESSION)