summaryrefslogtreecommitdiff
path: root/package/libtheora/0001-link-libtheoradec.patch
blob: c38d32bbbc14ede5c8d6d8606f1ab37eb09e473b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
libtheoraenc.so needs to be linked to libtheoradec.so in order to avoid

symbol 'th_comment_query_count': can't resolve symbol in lib '/usr/lib/libtheoraenc.so.1'

when starting Freeswitch.

Patch downloaded from
http://www.sisyphus.ru/en/srpm/Sisyphus/libtheora/patches/0

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

--- libtheora/lib/Makefile.am
+++ libtheora/lib/Makefile.am
@@ -153,6 +153,7 @@ libtheoraenc_la_SOURCES = \
 libtheoraenc_la_LDFLAGS = \
   -version-info @THENC_LIB_CURRENT@:@THENC_LIB_REVISION@:@THENC_LIB_AGE@ \
   @THEORAENC_LDFLAGS@ $(OGG_LIBS)
+libtheoraenc_la_LIBADD = libtheoradec.la
 
 libtheora_la_SOURCES = \
 	$(decoder_sources) \