Package: ffms2 / 2.23-4

symbol-visibility.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Author: Rickard Närström <rickard.narstrom@gmail.com>
Subject: Hide symbols by default

Index: ffms2/Makefile.am
===================================================================
--- ffms2.orig/Makefile.am
+++ ffms2/Makefile.am
@@ -1,6 +1,9 @@
 ACLOCAL_AMFLAGS = -I m4
 AUTOMAKE_OPTIONS = foreign
 
+AM_CFLAGS=-fvisibility=hidden
+AM_CXXFLAGS=-fvisibility=hidden
+
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = ffms2.pc