[Lldb-commits] [lldb] r203785 - Add some missing libraries for mingw.
Hafiz Abid Qadeer
hafiz_abid at mentor.com
Thu Mar 13 04:12:06 PDT 2014
Author: abidh
Date: Thu Mar 13 06:12:05 2014
New Revision: 203785
URL: http://llvm.org/viewvc/llvm-project?rev=203785&view=rev
Log:
Add some missing libraries for mingw.
Similar functionality already exist on the cmake side.
Modified:
lldb/trunk/lib/Makefile
Modified: lldb/trunk/lib/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/lib/Makefile?rev=203785&r1=203784&r2=203785&view=diff
==============================================================================
--- lldb/trunk/lib/Makefile (original)
+++ lldb/trunk/lib/Makefile Thu Mar 13 06:12:05 2014
@@ -88,6 +88,10 @@ LINK_COMPONENTS := $(TARGETS_TO_BUILD) a
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
More information about the lldb-commits
mailing list