summaryrefslogtreecommitdiff
path: root/toolkit/Library_tk.mk
diff options
context:
space:
mode:
authortono <tono@openoffice.org>2010-12-31 00:35:16 +0900
committertono <tono@openoffice.org>2010-12-31 00:35:16 +0900
commite389e3aef4fddf06a0e1e902802ad00f2e60905f (patch)
tree8cae8b856611e4490dcc988eb5a9cc58ffe77e0e /toolkit/Library_tk.mk
parent7997ab5bac6fbdfe3b3427c322507a993d33acbc (diff)
i#116264: gbuild for MinGW
Diffstat (limited to 'toolkit/Library_tk.mk')
-rw-r--r--toolkit/Library_tk.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/toolkit/Library_tk.mk b/toolkit/Library_tk.mk
index 9d94c76314f1..ab51c1e282bb 100644
--- a/toolkit/Library_tk.mk
+++ b/toolkit/Library_tk.mk
@@ -166,10 +166,23 @@ $(eval $(call gb_Library_add_linked_libs,tk,\
))
endif
ifeq ($(OS),WNT)
+ifneq ($(USE_MINGW),)
+$(eval $(call gb_Library_add_linked_libs,tk,\
+ mingwthrd \
+ $(gb_MINGW_LIBSTDCPP) \
+ mingw32 \
+ $(gb_MINGW_LIBGCC) \
+ uwinapi \
+ mingwex \
+ kernel32 \
+ msvcrt \
+))
+else
$(eval $(call gb_Library_add_linked_libs,tk,\
kernel32 \
msvcrt \
uwinapi \
))
endif
+endif
# vim: set noet sw=4 ts=4: