summaryrefslogtreecommitdiffstats
path: root/external/freetype
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-01-02 12:31:14 +0100
committerStephan Bergmann <sbergman@redhat.com>2022-01-02 20:29:14 +0100
commit4e7f3692c9eb42a00797025289782baa69a42cc7 (patch)
tree27a872ca8f636baa09129f959cfd904988b7e78c /external/freetype
parentloplugin:unusedfields (diff)
downloadcore-4e7f3692c9eb42a00797025289782baa69a42cc7.tar.gz
core-4e7f3692c9eb42a00797025289782baa69a42cc7.zip
Make external/freetype use -fPIC
...to prevent Library_pdfium from failing to link with > ld.lld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC > >>> defined in workdir/UnpackedTarball/freetype/instdir/lib/libfreetype.a(ftinit.o) > >>> referenced by ftinit.c:89 (src/base/ftinit.c:89) > >>> ftinit.o:(FT_Add_Default_Modules) in archive workdir/UnpackedTarball/freetype/instdir/lib/libfreetype.a etc., presumably since 8677e994d37329a28ca8278358a99d18b9cada69 "Simplify FONTCONFIG and FREETYPE tests" no longer implicitly forces use of system freetype on Linux Change-Id: I2743619768e2dd636ec431408fcb2871871504f1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127864 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'external/freetype')
-rw-r--r--external/freetype/ExternalProject_freetype.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/freetype/ExternalProject_freetype.mk b/external/freetype/ExternalProject_freetype.mk
index 032e0362917a..a3e0a7ca3e4b 100644
--- a/external/freetype/ExternalProject_freetype.mk
+++ b/external/freetype/ExternalProject_freetype.mk
@@ -18,6 +18,7 @@ $(call gb_ExternalProject_get_state_target,freetype,build) :
$(call gb_ExternalProject_run,build,\
$(gb_RUN_CONFIGURE) ./configure \
--disable-shared \
+ --with-pic \
--without-zlib \
--without-brotli \
--without-bzip2 \