[PATCH libreoffice-4-0] fix copying of MSVC2008 runtime DLLs

Michael Stahl (via Code Review) gerrit at gerrit.libreoffice.org
Thu May 30 14:12:28 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/4110

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/10/4110/1

fix copying of MSVC2008 runtime DLLs

(regression from d7b428453b07f48b56e7d83f05d81fae91b921c8)

Change-Id: Id3ba5bdb1f28b619add7d2e255cd9e1edc0d1bd1
---
M download
1 file changed, 17 insertions(+), 3 deletions(-)



diff --git a/download b/download
index a04d1f4..469fed6 100755
--- a/download
+++ b/download
@@ -51,9 +51,23 @@
 
 if [ "$COM" = "MSC" ]; then
     # use oowintool to copy CRT dlls and manifest
-    if ! ./oowintool --msvc-copy-dlls-64 ./external/msvcp ; then
-       echo "oowintool failed to copy 64-bit CRT"
-       exit 1
+    if [ "$VCVER" = "90" ]; then
+        # need only 32 bit DLLs in solver for MSVC 2008
+        if ! ./oowintool --msvc-copy-dlls ./external/msvcp ; then
+           echo "oowintool failed to copy CRT"
+           exit 1
+        fi
+        # 64 bit DLLs handled via MSM
+        if [ "$CPUNAME" = "INTEL" ]; then
+            if ! ./oowintool --msvc-copy-msms-64 ./external/msm"$VCVER" ; then
+               echo "WARNING: oowintool failed to copy x64 merge modules, installation will lack the 64-bit Explorer extension"
+            fi
+        fi
+    else
+        if ! ./oowintool --msvc-copy-dlls-64 ./external/msvcp ; then
+           echo "oowintool failed to copy 64-bit CRT"
+           exit 1
+        fi
     fi
 
     # use oowintool to copy VC redist merge modules

-- 
To view, visit https://gerrit.libreoffice.org/4110
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id3ba5bdb1f28b619add7d2e255cd9e1edc0d1bd1
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Michael Stahl <mstahl at redhat.com>



More information about the LibreOffice mailing list