diff options
author | Andras Timar <atimar@suse.com> | 2013-02-17 12:22:01 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2013-02-17 12:25:44 +0100 |
commit | c13c500630746ba035e0b48c0cbd276aa436db2b (patch) | |
tree | f476281b7720357055e3e08edf1f32c71f88fa65 /setup_native/Library_sn_tools.mk | |
parent | configure.ac: automatically find versioned servlet-api.jar (diff) | |
download | core-c13c500630746ba035e0b48c0cbd276aa436db2b.tar.gz core-c13c500630746ba035e0b48c0cbd276aa436db2b.zip |
CustomActions should be statically linked with MSVCRT
Change-Id: I100b7ff7e3aa505098ce8b3333d1aa8faca50370
Diffstat (limited to 'setup_native/Library_sn_tools.mk')
-rw-r--r-- | setup_native/Library_sn_tools.mk | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/setup_native/Library_sn_tools.mk b/setup_native/Library_sn_tools.mk index 6a26601b9584..da93c89b9d63 100644 --- a/setup_native/Library_sn_tools.mk +++ b/setup_native/Library_sn_tools.mk @@ -9,8 +9,17 @@ $(eval $(call gb_Library_Library,sn_tools)) +$(eval $(call gb_Library_add_defs,sn_tools,\ + -U_DLL \ +)) + +$(eval $(call gb_Library_add_cxxflags,sn_tools,\ + /MT \ +)) + $(eval $(call gb_Library_add_ldflags,sn_tools,\ /DEF:$(SRCDIR)/setup_native/source/win32/customactions/tools/sn_tools.def \ + /NODEFAULTLIB \ )) $(eval $(call gb_Library_add_exception_objects,sn_tools,\ @@ -22,8 +31,11 @@ $(eval $(call gb_Library_use_static_libraries,sn_tools,\ )) $(eval $(call gb_Library_use_system_win32_libs,sn_tools,\ - msi \ - advapi32 \ + libcmt \ + libcpmt \ + kernel32 \ + msi \ + advapi32 \ )) # vim: set noet sw=4 ts=4: |