summaryrefslogtreecommitdiff
path: root/sw/Library_swd.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sw/Library_swd.mk')
-rw-r--r--sw/Library_swd.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/sw/Library_swd.mk b/sw/Library_swd.mk
index 17511d3bf4ed..39440092c574 100644
--- a/sw/Library_swd.mk
+++ b/sw/Library_swd.mk
@@ -70,10 +70,23 @@ $(eval $(call gb_Library_add_exception_objects,swd,\
sw/source/ui/uno/swdetect \
))
ifeq ($(OS),WNT)
+ifneq ($(USE_MINGW),)
+$(eval $(call gb_Library_add_linked_libs,swd,\
+ mingwthrd \
+ $(gb_MINGW_LIBSTDCPP) \
+ mingw32 \
+ $(gb_MINGW_LIBGCC) \
+ uwinapi \
+ mingwex \
+ kernel32 \
+ msvcrt \
+))
+else
$(eval $(call gb_Library_add_linked_libs,swd,\
kernel32 \
msvcrt \
uwinapi \
))
endif
+endif
# vim: set noet sw=4 ts=4: