diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-02-18 14:06:35 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-18 15:55:44 +0000 |
commit | 37f7d9ee1d9399c5aa5e9975579f319b1fa045dc (patch) | |
tree | 60830483cf1cdde4cb2856c5e8d1a7621ea6034c | |
parent | 2f4fce056bc6025c924466aaf7635e2b385cecbb (diff) |
fdo#94009: harfbuzz: don't export symbols from VCL
Should fix crashes due to symbol clashes in ELF global namespace
where system's libharfbuzz.so.0 is loaded as well.
Change-Id: I35ffcbe4ac4de5a25cd8bf0cb9a8f0c11f4554c5
(cherry picked from commit 549130ab5d9616f7eb5504db31546b386737ccb2)
Reviewed-on: https://gerrit.libreoffice.org/22480
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | external/harfbuzz/ExternalProject_harfbuzz.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/external/harfbuzz/ExternalProject_harfbuzz.mk b/external/harfbuzz/ExternalProject_harfbuzz.mk index 52db53366dc1..c287a22e0c6b 100644 --- a/external/harfbuzz/ExternalProject_harfbuzz.mk +++ b/external/harfbuzz/ExternalProject_harfbuzz.mk @@ -33,6 +33,7 @@ $(call gb_ExternalProject_get_state_target,harfbuzz,build) : --with-glib=no \ $(if $(verbose),--disable-silent-rules,--enable-silent-rules) \ $(if $(CROSS_COMPILING),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ + $(if $(filter LINUX,$(OS)),CXXFLAGS="$(CXXFLAGS) -fvisibility=hidden") \ && (cd $(EXTERNAL_WORKDIR)/src && $(MAKE)) \ ) |