diff options
author | Stephen Hines <srhines@google.com> | 2013-02-27 17:04:00 -0800 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2013-02-27 17:04:00 -0800 |
commit | c35917ff3a7d9b47836b29da6a0cde3b8fbbb0fc (patch) | |
tree | 9c14ae4b883765475bc2c10ee7110a49cbfd64a3 | |
parent | 2de480880df3c31528f2b0adee150fb0174bdf5c (diff) | |
download | external_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.mk | 6 |
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) |