summaryrefslogtreecommitdiffstats
path: root/package/vlc/0005-libvorbisidec.patch
blob: 155e069499309de042a596dcbd148a60b33df2b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Fixes linking error with tremor due to wrong library name

Downloaded from Gentoo package
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-video/vlc/files/vlc-2.1.0-fix-libtremor-libs.patch?view=markup

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

--- a/modules/codec/Makefile.am
+++ b/modules/codec/Makefile.am
@@ -215,7 +215,7 @@
 libtremor_plugin_la_SOURCES = codec/vorbis.c
 libtremor_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DMODULE_NAME_IS_tremor
 libtremor_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
-libtremor_plugin_la_LIBADD = -lvorbisdec -logg
+libtremor_plugin_la_LIBADD = $(VORBIS_LIBS) $(OGG_LIBS)
 EXTRA_LTLIBRARIES += libtremor_plugin.la
 codec_LTLIBRARIES += $(LTLIBtremor)
 
OpenPOWER on IntegriCloud