Kaydet (Commit) 0f53247f authored tarafından David Tardon's avatar David Tardon

do not link with cmt by default

It causes linker errors like:

libcmt.lib(crt0dat.obj) : error LNK2005: _amsg_exit already defined in msvcrt.lib(MSVCR90.dll)

Change-Id: Ia7d9eec8dcbc9cbeb64f121f95c0b83d192bab20
üst 796f1146
...@@ -80,6 +80,7 @@ $(eval $(call gb_Library_add_ldflags,ooofilt,\ ...@@ -80,6 +80,7 @@ $(eval $(call gb_Library_add_ldflags,ooofilt,\
/EXPORT:DllGetClassObject \ /EXPORT:DllGetClassObject \
/EXPORT:DllRegisterServer \ /EXPORT:DllRegisterServer \
/EXPORT:DllUnregisterServer \ /EXPORT:DllUnregisterServer \
/NODEFAULTLIB:libcmt.lib \
)) ))
$(eval $(call gb_Library_add_exception_objects,ooofilt,\ $(eval $(call gb_Library_add_exception_objects,ooofilt,\
......
...@@ -76,6 +76,7 @@ $(eval $(call gb_Library_use_static_libraries,propertyhdl,\ ...@@ -76,6 +76,7 @@ $(eval $(call gb_Library_use_static_libraries,propertyhdl,\
$(eval $(call gb_Library_add_ldflags,propertyhdl,\ $(eval $(call gb_Library_add_ldflags,propertyhdl,\
/EXPORT:DllCanUnloadNow \ /EXPORT:DllCanUnloadNow \
/EXPORT:DllGetClassObject \ /EXPORT:DllGetClassObject \
/NODEFAULTLIB:libcmt.lib \
)) ))
$(eval $(call gb_Library_add_exception_objects,propertyhdl,\ $(eval $(call gb_Library_add_exception_objects,propertyhdl,\
......
...@@ -78,6 +78,7 @@ $(eval $(call gb_Library_add_ldflags,shlxthdl,\ ...@@ -78,6 +78,7 @@ $(eval $(call gb_Library_add_ldflags,shlxthdl,\
/EXPORT:DllGetClassObject \ /EXPORT:DllGetClassObject \
/EXPORT:DllRegisterServer \ /EXPORT:DllRegisterServer \
/EXPORT:DllUnregisterServer \ /EXPORT:DllUnregisterServer \
/NODEFAULTLIB:libcmt.lib \
)) ))
$(eval $(call gb_Library_add_exception_objects,shlxthdl,\ $(eval $(call gb_Library_add_exception_objects,shlxthdl,\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment