Add some missing libraries for mingw.
Similar functionality already exist on the cmake side. llvm-svn: 203785
This commit is contained in:
parent
a02fac7bec
commit
2f45b7c492
|
@ -88,6 +88,10 @@ LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader bitwriter codegen \
|
|||
instrumentation ipo irreader selectiondag jit mc mcjit \
|
||||
linker option
|
||||
|
||||
ifeq ($(HOST_OS),MingW)
|
||||
USEDLIBS += lldbHostWindows.a
|
||||
endif
|
||||
|
||||
ifeq ($(HOST_OS),Darwin)
|
||||
USEDLIBS += lldbHostMacOSX.a \
|
||||
lldbPluginDynamicLoaderMacOSX.a \
|
||||
|
@ -125,6 +129,10 @@ endif
|
|||
|
||||
include $(LEVEL)/Makefile.common
|
||||
|
||||
ifeq ($(HOST_OS),MingW)
|
||||
LLVMLibsOptions += -lws2_32
|
||||
endif
|
||||
|
||||
ifeq ($(HOST_OS),Darwin)
|
||||
LLVMLibsOptions += -Wl,-all_load
|
||||
# set dylib internal version number to llvmCore submission number
|
||||
|
|
Loading…
Reference in New Issue