Kaydet (Commit) a147095a authored tarafından Fridrich Štrba's avatar Fridrich Štrba

Link the windows build of libwpd against the shared library runtimes

Change-Id: I9dfa2ffb8aeb5b57435f6d67ab662174b794e5b4
üst 084db5f7
......@@ -16,6 +16,8 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,wpd,0))
wpd_patches :=
# By mistake libwpd-0.9.5 changed ABI, change back
wpd_patches += libwpd-0.9.5-ABI.patch
# Link the static library against the dll runtime and not the static one
wpd_patches += libwpd-0.9.5-msc.patch
$(eval $(call gb_UnpackedTarball_add_patches,wpd,\
$(foreach patch,$(wpd_patches),libwpd/$(patch)) \
......
--- build/win32/libwpd.vcproj
+++ build/win32/libwpd.vcproj
@@ -42,7 +42,7 @@
Optimization="0"
PreprocessorDefinitions="_DEBUG;DEBUG;WIN32;_LIB;_CRT_SECURE_NO_WARNINGS"
BasicRuntimeChecks="3"
- RuntimeLibrary="1"
+ RuntimeLibrary="3"
RuntimeTypeInfo="true"
PrecompiledHeaderFile=".\Debug/libwpd.pch"
AssemblerListingLocation=".\Debug/"
@@ -115,7 +115,7 @@
InlineFunctionExpansion="1"
PreprocessorDefinitions="NDEBUG;WIN32;_LIB;_CRT_SECURE_NO_WARNINGS"
StringPooling="true"
- RuntimeLibrary="0"
+ RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
RuntimeTypeInfo="true"
PrecompiledHeaderFile=".\Release/libwpd.pch"
--- build/win32/libwpdstream.vcproj
+++ build/win32/libwpdstream.vcproj
@@ -43,7 +43,7 @@
InlineFunctionExpansion="1"
PreprocessorDefinitions="NDEBUG;WIN32;_LIB;_CRT_SECURE_NO_DEPRECATE"
StringPooling="true"
- RuntimeLibrary="0"
+ RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
PrecompiledHeaderFile=".\Release/libwpdstream.pch"
AssemblerListingLocation=".\Release/"
@@ -114,7 +114,7 @@
Optimization="0"
PreprocessorDefinitions="_DEBUG;DEBUG;WIN32;_LIB;_CRT_SECURE_NO_DEPRECATE"
BasicRuntimeChecks="3"
- RuntimeLibrary="1"
+ RuntimeLibrary="3"
PrecompiledHeaderFile=".\Debug/libwpdstream.pch"
AssemblerListingLocation=".\Debug/"
ObjectFile=".\Debug/"
diff --git a/build/win32/wpd2html.vcproj b/build/win32/wpd2html.vcproj
index a41eef2..bdc44cc 100644
--- build/win32/wpd2html.vcproj
+++ build/win32/wpd2html.vcproj
@@ -46,7 +46,7 @@
Optimization="4"
AdditionalIncludeDirectories="..\..\src\lib"
PreprocessorDefinitions="NDEBUG;WIN32;_CONSOLE"
- RuntimeLibrary="0"
+ RuntimeLibrary="2"
PrecompiledHeaderFile=".\Release/wpd2html.pch"
AssemblerListingLocation=".\Release/"
ObjectFile=".\Release/"
@@ -134,7 +134,7 @@
AdditionalIncludeDirectories="..\..\src\lib"
PreprocessorDefinitions="_DEBUG;DEBUG;WIN32;_CONSOLE"
BasicRuntimeChecks="3"
- RuntimeLibrary="1"
+ RuntimeLibrary="3"
PrecompiledHeaderFile=".\Debug/wpd2html.pch"
AssemblerListingLocation=".\Debug/"
ObjectFile=".\Debug/"
diff --git a/build/win32/wpd2raw.vcproj b/build/win32/wpd2raw.vcproj
index a41318a..9a057e5 100644
--- build/win32/wpd2raw.vcproj
+++ build/win32/wpd2raw.vcproj
@@ -47,7 +47,7 @@
Optimization="4"
AdditionalIncludeDirectories="..\..\src\lib"
PreprocessorDefinitions="NDEBUG;WIN32;_CONSOLE"
- RuntimeLibrary="0"
+ RuntimeLibrary="2"
PrecompiledHeaderFile=".\Release/wpd2raw.pch"
AssemblerListingLocation=".\Release/"
ObjectFile=".\Release/"
@@ -136,7 +136,7 @@
AdditionalIncludeDirectories="..\..\src\lib"
PreprocessorDefinitions="_DEBUG;DEBUG;WIN32;_CONSOLE"
BasicRuntimeChecks="3"
- RuntimeLibrary="1"
+ RuntimeLibrary="3"
PrecompiledHeaderFile=".\Debug/wpd2raw.pch"
AssemblerListingLocation=".\Debug/"
ObjectFile=".\Debug/"
diff --git a/build/win32/wpd2text.vcproj b/build/win32/wpd2text.vcproj
index 8c02ed1..f4ae836 100644
--- build/win32/wpd2text.vcproj
+++ build/win32/wpd2text.vcproj
@@ -47,7 +47,7 @@
AdditionalIncludeDirectories="..\..\src\lib"
PreprocessorDefinitions="_DEBUG;DEBUG;WIN32;_CONSOLE"
BasicRuntimeChecks="3"
- RuntimeLibrary="1"
+ RuntimeLibrary="3"
PrecompiledHeaderFile=".\Debug/wpd2text.pch"
AssemblerListingLocation=".\Debug/"
ObjectFile=".\Debug/"
@@ -136,7 +136,7 @@
Optimization="4"
AdditionalIncludeDirectories="..\..\src\lib"
PreprocessorDefinitions="NDEBUG;WIN32;_CONSOLE"
- RuntimeLibrary="0"
+ RuntimeLibrary="2"
PrecompiledHeaderFile=".\Release/wpd2text.pch"
AssemblerListingLocation=".\Release/"
ObjectFile=".\Release/"
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