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

Michael Stahl mstahl at redhat.com
Fri Nov 25 16:10:43 UTC 2016


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

New commits:
commit 086631af59636cd9a6a45b747a1bc59b4b547794
Author: Michael Stahl <mstahl at redhat.com>
Date:   Fri Nov 25 17:01:49 2016 +0100

    configure: fix harfbuzz build on WNT
    
    The graphite library is always built static, so the graphite headers must
    be included with the GRAPHITE2_STATIC macro, so that the functions are
    not marked __declspec(dllimport) on WNT.
    
    Add GRAPHITE2_STATIC to GRAPHITE_CFLAGS so harfbuzz picks it up.
    
    It's a mystery why vcl even links currently without this.
    
    Change-Id: I80d87fe76afa2d05a5697d56dfaf8cbe97d9f977

diff --git a/configure.ac b/configure.ac
index 7ed5c58..62f0b0f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9186,7 +9186,7 @@ AC_SUBST(ICU_LIBS)
 dnl ===================================================================
 dnl Graphite
 dnl ===================================================================
-libo_CHECK_SYSTEM_MODULE([graphite],[GRAPHITE],[graphite2 >= 0.9.3],["-I${WORKDIR}/UnpackedTarball/graphite/include"],["-L${WORKDIR}/LinkTarget/StaticLibrary -lgraphite"])
+libo_CHECK_SYSTEM_MODULE([graphite],[GRAPHITE],[graphite2 >= 0.9.3],["-I${WORKDIR}/UnpackedTarball/graphite/include -DGRAPHITE2_STATIC"],["-L${WORKDIR}/LinkTarget/StaticLibrary -lgraphite"])
 if test "$with_system_graphite" = "yes"; then
     libo_MINGW_CHECK_DLL([libgraphite2])
 fi


More information about the Libreoffice-commits mailing list