Since this Makefile is supposed to be usable from LLVM-based projects not in the
tree, LLVMLIBS should be used instead of USEDLIBS. This depends on my previous
fix to Makefile.rules.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65941
91177308-0d34-0410-b5e6-
96231b3b80d8
LEVEL = ../../..
TOOLNAME = $(LLVMC_BASED_DRIVER_NAME)
-USEDLIBS = CompilerDriver
+LLVMLIBS = CompilerDriver
ifneq ($(LLVMC_BUILTIN_PLUGINS),)
USEDLIBS += $(patsubst %,plugin_llvmc_%,$(LLVMC_BUILTIN_PLUGINS))