summaryrefslogtreecommitdiff
path: root/sfx2/Library_sfx.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
commite17e44d1787f8c7f830e22f129d4aab497900dea (patch)
tree612434c8ae9a56cbc3b2b461bec61b7406cdfcd9 /sfx2/Library_sfx.mk
parent794c821e4d48c34aa376cdc7b6ab2cb029d9574d (diff)
i#116264: gbuild for MinGW
Diffstat (limited to 'sfx2/Library_sfx.mk')
-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 ed941d5b9a9f..3c3ebe85294e 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 \