summaryrefslogtreecommitdiff
path: root/sfx2
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
commitbe431e6faff8a52d80dbb8245b46bd51c258ff02 (patch)
treee6cd7ecdf36beeffe12bbe2bc18495a4c8bf341c /sfx2
parent66c500015dc3e189815fc3afec6538965e92b647 (diff)
i#116264: gbuild for MinGW
Diffstat (limited to 'sfx2')
-rwxr-xr-xsfx2/Library_sfx.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/sfx2/Library_sfx.mk b/sfx2/Library_sfx.mk
index ad6b40a60f..e75167110b 100755
--- a/sfx2/Library_sfx.mk
+++ b/sfx2/Library_sfx.mk
@@ -285,6 +285,25 @@ $(eval $(call gb_Library_add_cxxobjects,sfx,\
, $(gb_LinkTarget_EXCEPTIONFLAGS) -nologo -UPRECOMPILED_HEADERS \
))
+ifneq ($(USE_MINGW),)
+$(eval $(call gb_Library_add_linked_libs,sfx,\
+ mingwthrd \
+ $(gb_MINGW_LIBSTDCPP) \
+ mingw32 \
+ $(gb_MINGW_LIBGCC) \
+ uwinapi \
+ moldname \
+ mingwex \
+ advapi32 \
+ gdi32 \
+ kernel32 \
+ msvcrt \
+ ole32 \
+ shell32 \
+ user32 \
+ uuid \
+))
+else
$(eval $(call gb_Library_add_linked_libs,sfx,\
advapi32 \
gdi32 \
@@ -297,6 +316,7 @@ $(eval $(call gb_Library_add_linked_libs,sfx,\
uuid \
uwinapi \
))
+endif
else
$(eval $(call gb_Library_add_cxxobjects,sfx,\
sfx2/source/appl/shutdowniconw32 \