summaryrefslogtreecommitdiff
path: root/external/pdfium
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2022-12-07 20:18:42 +0100
committerAndras Timar <andras.timar@collabora.com>2024-01-15 12:20:55 +0100
commit17b6a50b3337852b32e13248d8153cc0219add33 (patch)
tree850910be6261b234c61c50d437f36864fe1013c9 /external/pdfium
parent4a2eeebcf59f90b7d599ad107a5e1ba0e88e1199 (diff)
[cp] Revert "Explicitly build external/freetype --without-png"
This reverts commit b48cb69dae4118fe4a471921510281bbd16f5c4f. Reason: there is no support for color emojis without libpng. I checked our use case and this revert seems to be safe, because we build without system libpng. In this case we have the LIBPNG_CFLAGS and LIBPNG_LIBS variables defined in config_host.mk and those point to the internal libpng headers and static libs in workdir. These variables are used by configure script of freetype, and freetype will link our internal libpng statically. The link problem with libpdfium is also addressed. Change-Id: I565832e8a32597dde6eb9fb64c522c62233c3097 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143799 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'external/pdfium')
-rw-r--r--external/pdfium/Library_pdfium.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/pdfium/Library_pdfium.mk b/external/pdfium/Library_pdfium.mk
index fc0903d873d1..f8d075b8db08 100644
--- a/external/pdfium/Library_pdfium.mk
+++ b/external/pdfium/Library_pdfium.mk
@@ -596,6 +596,7 @@ $(eval $(call gb_Library_add_libs,pdfium,\
endif
$(eval $(call gb_Library_use_external,pdfium,freetype))
+$(eval $(call gb_Library_use_external,pdfium,libpng))
$(eval $(call gb_Library_add_defs,pdfium,\
-DDEFINE_PS_TABLES_DATA \
))