aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2013-02-27 17:04:00 -0800
committerStephen Hines <srhines@google.com>2013-02-27 17:04:00 -0800
commitc35917ff3a7d9b47836b29da6a0cde3b8fbbb0fc (patch)
tree9c14ae4b883765475bc2c10ee7110a49cbfd64a3
parent2de480880df3c31528f2b0adee150fb0174bdf5c (diff)
downloadexternal_llvm-c35917ff3a7d9b47836b29da6a0cde3b8fbbb0fc.zip
external_llvm-c35917ff3a7d9b47836b29da6a0cde3b8fbbb0fc.tar.gz
external_llvm-c35917ff3a7d9b47836b29da6a0cde3b8fbbb0fc.tar.bz2
Update build rules for windows.
Change-Id: I3b1aa5dd408820086ecea378a9a5ed23f197be22
-rw-r--r--host_shared_llvm.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/host_shared_llvm.mk b/host_shared_llvm.mk
index cd95e7c..8465d71 100644
--- a/host_shared_llvm.mk
+++ b/host_shared_llvm.mk
@@ -46,7 +46,11 @@ LOCAL_WHOLE_STATIC_LIBRARIES := \
libLLVMSupport \
libLLVMVectorize
-LOCAL_LDLIBS := -ldl -lpthread
+ifeq ($(HOST_OS),windows)
+ LOCAL_LDLIBS := -limagehlp -lpsapi
+else
+ LOCAL_LDLIBS := -ldl -lpthread
+endif
include $(LLVM_HOST_BUILD_MK)
#include $(LLVM_GEN_INTRINSICS_MK)