diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/TableGen/Android.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/utils/TableGen/Android.mk b/utils/TableGen/Android.mk index 9d4e9d5..8dae6f0 100644 --- a/utils/TableGen/Android.mk +++ b/utils/TableGen/Android.mk @@ -44,7 +44,12 @@ REQUIRES_RTTI := 1 LOCAL_STATIC_LIBRARIES := libLLVMSupport libLLVMSystem LOCAL_MODULE := tblgen -LOCAL_LDLIBS += -lpthread -lm -ldl +LOCAL_LDLIBS += -lm +ifeq ($(HOST_OS),windows) + LOCAL_LDLIBS += -limagehlp -lpsapi +else + LOCAL_LDLIBS += -lpthread -ldl +endif include $(LLVM_HOST_BUILD_MK) include $(BUILD_HOST_EXECUTABLE) |