diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-01-05 08:07:11 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-01-05 09:17:02 +0100 |
commit | e1b51099ac306118ee88bf3b7c94621df2564133 (patch) | |
tree | bcb40affd0fde559be10dda0030925a69a16a5b9 /external | |
parent | 8bdd134bef3baca2ebd878163af4e55e5f898efe (diff) |
Explicitly build external/freetype --without-png
...instead of having its configure.ac determine whether to support png based on
it being installed on the system, but which then might cause a Linux
--without-system-freetype build to fail to link Library_pdfium with
> workdir/UnpackedTarball/freetype/src/sfnt/pngshim.c:199: error: undefined reference to 'png_get_error_ptr'
etc.
Change-Id: Idf47ba5252b8f4d7f2e295f7adf6b761dbee4d2f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127985
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external')
-rw-r--r-- | external/freetype/ExternalProject_freetype.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/external/freetype/ExternalProject_freetype.mk b/external/freetype/ExternalProject_freetype.mk index a3e0a7ca3e4b..4cb2920ae923 100644 --- a/external/freetype/ExternalProject_freetype.mk +++ b/external/freetype/ExternalProject_freetype.mk @@ -23,6 +23,7 @@ $(call gb_ExternalProject_get_state_target,freetype,build) : --without-brotli \ --without-bzip2 \ --without-harfbuzz \ + --without-png \ --prefix=$(call gb_UnpackedTarball_get_dir,freetype/instdir) \ --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) \ CFLAGS="$(CFLAGS) $(if $(debug),-g) $(gb_VISIBILITY_FLAGS)" \ |