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_sellangmsi.mk | |
parent | 850b4c7e2d5535dcf76cebea85b4f14c1c7aeaea (diff) |
CustomActions should be statically linked with MSVCRT
Change-Id: I100b7ff7e3aa505098ce8b3333d1aa8faca50370
Diffstat (limited to 'setup_native/Library_sellangmsi.mk')
-rw-r--r-- | setup_native/Library_sellangmsi.mk | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/setup_native/Library_sellangmsi.mk b/setup_native/Library_sellangmsi.mk index 41b6fae897c9..8219e6d6ada1 100644 --- a/setup_native/Library_sellangmsi.mk +++ b/setup_native/Library_sellangmsi.mk @@ -10,11 +10,16 @@ $(eval $(call gb_Library_Library,sellangmsi)) $(eval $(call gb_Library_add_defs,sellangmsi,\ - -D_STLP_USE_STATIC_LIB \ + -U_DLL \ +)) + +$(eval $(call gb_Library_add_cxxflags,sellangmsi,\ + /MT \ )) $(eval $(call gb_Library_add_ldflags,sellangmsi,\ /DEF:$(SRCDIR)/setup_native/source/win32/customactions/sellang/sellang.def \ + /NODEFAULTLIB \ )) $(eval $(call gb_Library_add_exception_objects,sellangmsi,\ @@ -23,7 +28,9 @@ $(eval $(call gb_Library_add_exception_objects,sellangmsi,\ )) $(eval $(call gb_Library_use_system_win32_libs,sellangmsi,\ - msi \ + libcmt \ + libcpmt \ + msi \ kernel32 \ user32 \ advapi32 \ |