aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)