summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-11-25 17:01:49 +0100
committerMichael Stahl <mstahl@redhat.com>2016-11-25 17:07:10 +0100
commit086631af59636cd9a6a45b747a1bc59b4b547794 (patch)
treef7e61ff84c3b7ac12590911c6a5e6aa91366d1c3
parent20254e85813b9575ce6dcd999bf943e5ade8978c (diff)
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
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7ed5c58d1db6..62f0b0f339ca 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