[Libreoffice-commits] core.git: configure.ac

Tomofumi Yagi yagit at mknada.sakura.ne.jp
Mon May 5 04:24:44 PDT 2014


 configure.ac |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 7623bc31584b38da980016db25fb5dfc702beb10
Author: Tomofumi Yagi <yagit at mknada.sakura.ne.jp>
Date:   Sun May 4 11:34:24 2014 +0900

    fix windows build(external/poppler)
    
    Fix build error on windows with --enable-dbgutil autogen.sh option.
    We need to link freetype248_D.lib,when we use --enable-dbgutil option.
    (Suffix "_D" is needed.)
    
    Change-Id: Ib2927e777d9b9bb615e1df62e428cf17cc8bc26e
    Reviewed-on: https://gerrit.libreoffice.org/9248
    Tested-by: Michael Stahl <mstahl at redhat.com>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/configure.ac b/configure.ac
index 2e4e3b3..256efe9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10404,7 +10404,8 @@ if test $_os != iOS -a $_os != Android -a $_os != Darwin -a "x$enable_gltf" != "
     if test "$test_freetype" = "no"; then
         BUILD_TYPE="$BUILD_TYPE FREETYPE"
         if test "$COM" = "MSC"; then
-            FREETYPE_LIBS="${WORKDIR}/UnpackedTarball/freetype/objs/win32/vc2010/freetype248.lib"
+            test -n "${MSVC_USE_DEBUG_RUNTIME}" && FREETYPE_LIB_DEBUGLIB_SUFFIX="_D"
+            FREETYPE_LIBS="${WORKDIR}/UnpackedTarball/freetype/objs/win32/vc2010/freetype248$FREETYPE_LIB_DEBUGLIB_SUFFIX.lib"
         fi
     fi
 else


More information about the Libreoffice-commits mailing list