summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-02-18 14:06:35 +0100
committerAndras Timar <andras.timar@collabora.com>2016-02-22 08:58:19 +0100
commit62d1690d23137eb1c9e873211f2c57b797912cda (patch)
tree001585e36c29b47b79ccbf7eaecd8714e9c05b38 /external
parent58e845e408b41ebc192e7ecb9212c33a8f67f3af (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/22481 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 395995f03dd640aee28767f6d920901d91dd3bee)
Diffstat (limited to 'external')
-rw-r--r--external/harfbuzz/ExternalProject_harfbuzz.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/harfbuzz/ExternalProject_harfbuzz.mk b/external/harfbuzz/ExternalProject_harfbuzz.mk
index 302eed71e698..192ca2350907 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)$(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)) \
)