summaryrefslogtreecommitdiff
path: root/setup_native/Library_regpatchactivex.mk
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2013-02-17 12:22:01 +0100
committerAndras Timar <atimar@suse.com>2013-02-17 12:25:44 +0100
commitc13c500630746ba035e0b48c0cbd276aa436db2b (patch)
treef476281b7720357055e3e08edf1f32c71f88fa65 /setup_native/Library_regpatchactivex.mk
parent850b4c7e2d5535dcf76cebea85b4f14c1c7aeaea (diff)
CustomActions should be statically linked with MSVCRT
Change-Id: I100b7ff7e3aa505098ce8b3333d1aa8faca50370
Diffstat (limited to 'setup_native/Library_regpatchactivex.mk')
-rw-r--r--setup_native/Library_regpatchactivex.mk13
1 files changed, 12 insertions, 1 deletions
diff --git a/setup_native/Library_regpatchactivex.mk b/setup_native/Library_regpatchactivex.mk
index 2a48e4b0d5b5..bd2669d5fade 100644
--- a/setup_native/Library_regpatchactivex.mk
+++ b/setup_native/Library_regpatchactivex.mk
@@ -9,8 +9,17 @@
$(eval $(call gb_Library_Library,regpatchactivex))
+$(eval $(call gb_Library_add_defs,regpatchactivex,\
+ -U_DLL \
+))
+
+$(eval $(call gb_Library_add_cxxflags,regpatchactivex,\
+ /MT \
+))
+
$(eval $(call gb_Library_add_ldflags,regpatchactivex,\
/DEF:$(SRCDIR)/setup_native/source/win32/customactions/regpatchactivex/regpatchactivex.def \
+ /NODEFAULTLIB \
))
$(eval $(call gb_Library_add_exception_objects,regpatchactivex,\
@@ -18,7 +27,9 @@ $(eval $(call gb_Library_add_exception_objects,regpatchactivex,\
))
$(eval $(call gb_Library_use_system_win32_libs,regpatchactivex,\
- msi \
+ libcmt \
+ libcpmt \
+ msi \
kernel32 \
user32 \
advapi32 \