diff --git a/lldb/lib/Makefile b/lldb/lib/Makefile index ff54b69a8ec5..6797c22b73c8 100644 --- a/lldb/lib/Makefile +++ b/lldb/lib/Makefile @@ -83,7 +83,7 @@ USEDLIBS = lldbAPI.a \ # necessary to also link the clang rewriter libraries so vtable references can # be resolved correctly, if we are building with GCC. ifeq (g++,$(shell basename $(CXX) | cut -c 1-4)) - USEDLIBS += clangRewriteCore.a \ + USEDLIBS += clangRewrite.a \ clangRewriteFrontend.a endif diff --git a/lldb/source/CMakeLists.txt b/lldb/source/CMakeLists.txt index 260fec9f2db3..1b464a3e8ce4 100644 --- a/lldb/source/CMakeLists.txt +++ b/lldb/source/CMakeLists.txt @@ -155,7 +155,7 @@ set( CLANG_USED_LIBS clangFrontend clangLex clangParse - clangRewriteCore + clangRewrite clangRewriteFrontend clangSema clangSerialization