diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-10-04 00:30:34 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-10-04 00:30:34 +0000 |
commit | b3334f9f43cecb8cae9db43f06583d12fb1071b4 (patch) | |
tree | 869e082d7d12ce90933f3b00e5e8cc846eb7761e /llvm | |
parent | 51e0b54197b2f78b460db6c4cbd8e20cfb374133 (diff) | |
download | bcm5719-llvm-b3334f9f43cecb8cae9db43f06583d12fb1071b4.tar.gz bcm5719-llvm-b3334f9f43cecb8cae9db43f06583d12fb1071b4.zip |
Exclude libLLVMTableGen.a from the shared library
Unbreaks tools for --enable-shared build.
llvm-svn: 141052
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/tools/llvm-shlib/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/tools/llvm-shlib/Makefile b/llvm/tools/llvm-shlib/Makefile index 9e6facab702..0695c0070d3 100644 --- a/llvm/tools/llvm-shlib/Makefile +++ b/llvm/tools/llvm-shlib/Makefile @@ -30,10 +30,11 @@ endif include $(LEVEL)/Makefile.common # Include all archives in libLLVM.(so|dylib) except the ones that have -# their own dynamic libraries. +# their own dynamic libraries and TableGen. Archives := $(wildcard $(LibDir)/libLLVM*.a) SharedLibraries := $(wildcard $(LibDir)/libLLVM*$(SHLIBEXT)) -IncludeInLibLlvm := $(filter-out $(basename $(SharedLibraries)).a, $(Archives)) +ExcludeFromLibLlvm := $(basename $(SharedLibraries)).a %/libLLVMTableGen.a +IncludeInLibLlvm := $(filter-out $(ExcludeFromLibLlvm), $(Archives)) LLVMLibsOptions := $(IncludeInLibLlvm:$(LibDir)/lib%.a=-l%) LLVMLibsPaths := $(IncludeInLibLlvm) |