mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
Exclude libLLVMTableGen.a from the shared library
Unbreaks tools for --enable-shared build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141052 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
da7e6a9c88
commit
e97552e850
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user