mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-01 16:59:14 +00:00
Exclude libLLVMTableGen.a from the shared library
Unbreaks tools for --enable-shared build. llvm-svn: 141052
This commit is contained in:
parent
a660966f4d
commit
82881bd04b
@ -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…
x
Reference in New Issue
Block a user