summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
Diffstat (limited to 'external')
-rw-r--r--external/liborcus/UnpackedTarball_liborcus.mk1
-rw-r--r--external/liborcus/visibility.patch.011
2 files changed, 12 insertions, 0 deletions
diff --git a/external/liborcus/UnpackedTarball_liborcus.mk b/external/liborcus/UnpackedTarball_liborcus.mk
index 09b3c2889f0c..5d09d6de7ccd 100644
--- a/external/liborcus/UnpackedTarball_liborcus.mk
+++ b/external/liborcus/UnpackedTarball_liborcus.mk
@@ -16,6 +16,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,liborcus,1))
$(eval $(call gb_UnpackedTarball_add_patches,liborcus,\
external/liborcus/0001-workaround-a-linking-problem-on-windows.patch \
external/liborcus/rpath.patch.0 \
+ external/liborcus/visibility.patch.0 \
))
ifeq ($(OS),WNT)
diff --git a/external/liborcus/visibility.patch.0 b/external/liborcus/visibility.patch.0
new file mode 100644
index 000000000000..c9c53a9bf0e5
--- /dev/null
+++ b/external/liborcus/visibility.patch.0
@@ -0,0 +1,11 @@
+--- configure
++++ configure
+@@ -4255,7 +4255,7 @@
+
+ fi
+
+-CXXFLAGS="$CXXFLAGS -fvisibility=hidden -Wall -pthread"
++CXXFLAGS="-fvisibility=hidden $CXXFLAGS -Wall -pthread"
+
+ # ===========================
+ # Find required base packages