summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2022-11-25 11:27:57 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2022-11-25 16:20:30 +0100
commita7a974fda5d8635b5d67c8e7fe71f4c7d83c5797 (patch)
tree20830cb7e8a154fad1797c4eeaa3ba6b1a75dae4 /external
parent654bd3a0ec480b3aab6571fbf1a607fc0bf6b11c (diff)
freetype: don't build yet another copy of zlib
Since commit e515267602d9049bc15739a215f43f1379141d81 the zlib that's statically linked into freetype conflicts with the zlib that's statically linked into Qt5 because both appear to rename the symbols via Z_PREFIX to the same names and thus the linker complains about duplicate symbols. Apparently --without-zlib doesn't disable the feature but instead causes freetype to use its own copy; just use --with-zlib instead and rely on the ZLIB_CFLAGS/ZLIB_LIBS to find LO's bundled zlib. Change-Id: I0b5684ca6556c3da7874c17ff2da97b2753b0262 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143289 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'external')
-rw-r--r--external/freetype/ExternalProject_freetype.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/freetype/ExternalProject_freetype.mk b/external/freetype/ExternalProject_freetype.mk
index 2a61ac7d7be4..04c11cf794b8 100644
--- a/external/freetype/ExternalProject_freetype.mk
+++ b/external/freetype/ExternalProject_freetype.mk
@@ -19,7 +19,7 @@ $(call gb_ExternalProject_get_state_target,freetype,build) :
$(gb_RUN_CONFIGURE) ./configure \
--disable-shared \
--with-pic \
- --without-zlib \
+ --with-zlib \
--without-brotli \
--without-bzip2 \
--without-harfbuzz \