Fix 'llvm-config --libs' output.
authorMikhail Glushenkov <foldr@codedgers.com>
Wed, 21 Jan 2009 13:05:00 +0000 (13:05 +0000)
committerMikhail Glushenkov <foldr@codedgers.com>
Wed, 21 Jan 2009 13:05:00 +0000 (13:05 +0000)
Change the naming scheme for llvmc plugins so that they do not appear in
'llvm-config --libs' output.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62687 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvmc/driver/Makefile
tools/llvmc/plugins/Makefile

index d3aa2cd52ad999d65fe24b18b70298916cec4ba8..107f0dea385a624880e180a027b00edcf5af55b0 100644 (file)
@@ -13,7 +13,7 @@ LINK_COMPONENTS = support system
 REQUIRES_EH := 1
 
 ifneq ($(BUILTIN_PLUGINS),)
-USEDLIBS = $(patsubst %,LLVMC%,$(BUILTIN_PLUGINS))
+USEDLIBS = $(patsubst %,plugin_llvmc_%,$(BUILTIN_PLUGINS))
 endif
 
 include $(LEVEL)/Makefile.common
index dab58e07581d8f6cb36b68bb386e8a5def4aa052..734323f50d78d69a5da4fcd7e75231b74206430e 100644 (file)
@@ -21,7 +21,7 @@ else # LLVMC_PLUGIN
 
 LEVEL = ../../../..
 
-LIBRARYNAME := $(patsubst %,LLVMC%,$(LLVMC_PLUGIN))
+LIBRARYNAME := $(patsubst %,plugin_llvmc_%,$(LLVMC_PLUGIN))
 REQUIRES_EH = 1
 
 ifndef BUILTIN_LLVMC_PLUGIN