Add some missing libraries for mingw.

Similar functionality already exist on the cmake side.

llvm-svn: 203785
This commit is contained in:
Hafiz Abid Qadeer 2014-03-13 11:12:05 +00:00
parent a02fac7bec
commit 2f45b7c492
1 changed files with 8 additions and 0 deletions

View File

@ -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