]> git.sesse.net Git - vlc/commitdiff
Fix live555media libraries link order
authorGilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Sat, 14 Nov 2009 17:29:27 +0000 (18:29 +0100)
committerChristophe Mutricy <xtophe@videolan.org>
Sun, 6 Dec 2009 15:21:11 +0000 (15:21 +0000)
Since at least vlc 1.0.2, compiling vlc with a static version of a
recent version of the live555media library (the version released on
2009/11/12 for instance) results in the following warning while loading
the liblive555_plugin.so module:

[0x1901090] main libvlc warning: cannot load module `/usr/local/lib/vlc/demux/liblive555_plugin.so' (/usr/local/lib/vlc/demux/liblive555_plugin.so: undefined symbol: _ZTI9HashTable)

This warning is due to an error in the link order of the
live555_plugin, fixed by the following patch.

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
configure.ac

index f930dc69e6aefd5668e60f1ae92da4dbb66f9ee9..420ce5845d89c624114e363b2a2b7409136fdb78 100644 (file)
@@ -2015,10 +2015,10 @@ lternatively you can use --disable-live555 to disable the liveMedia plugin.])
         VLC_ADD_LIBS([live555],[-lws2_32])
       fi
 
-      VLC_ADD_LIBS([live555],[-L${real_live555_tree}/liveMedia -lliveMedia])
+      VLC_ADD_LIBS([live555],[-L${real_live555_tree}/UsageEnvironment -lUsageEnvironment])
       VLC_ADD_LIBS([live555],[-L${real_live555_tree}/BasicUsageEnvironment -lBasicUsageEnvironment])
       VLC_ADD_LIBS([live555],[-L${real_live555_tree}/groupsock -lgroupsock])
-      VLC_ADD_LIBS([live555],[-L${real_live555_tree}/UsageEnvironment -lUsageEnvironment])
+      VLC_ADD_LIBS([live555],[-L${real_live555_tree}/liveMedia -lliveMedia])
 
       VLC_ADD_CXXFLAGS([live555],[-I${real_live555_tree}/BasicUsageEnvironment/include])
       VLC_ADD_CXXFLAGS([live555],[-I${real_live555_tree}/groupsock/include])