diff options
| -rw-r--r-- | lldb/lib/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lldb/lib/Makefile b/lldb/lib/Makefile index b3c09bc..3e48d51 100644 --- a/lldb/lib/Makefile +++ b/lldb/lib/Makefile @@ -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 |
