summaryrefslogtreecommitdiff
path: root/toolkit/Library_tk.mk
diff options
context:
space:
mode:
authortono <tono@openoffice.org>2011-01-05 22:55:15 +0900
committertono <tono@openoffice.org>2011-01-05 22:55:15 +0900
commit93d8027d3dc7d52fb96325601ee35562560c68d5 (patch)
tree8cae8b856611e4490dcc988eb5a9cc58ffe77e0e /toolkit/Library_tk.mk
parent719a761b4f8e71a5cf86d5c92bff0cb44be612c7 (diff)
mingwport33: 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: