Commit 1d463ae8 authored by Gilles Chanteperdrix's avatar Gilles Chanteperdrix Committed by Christophe Mutricy

Fix live555media libraries link order

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: default avatarChristophe Mutricy <xtophe@videolan.org>
parent 3aa8ed0b
...@@ -2015,10 +2015,10 @@ lternatively you can use --disable-live555 to disable the liveMedia plugin.]) ...@@ -2015,10 +2015,10 @@ lternatively you can use --disable-live555 to disable the liveMedia plugin.])
VLC_ADD_LIBS([live555],[-lws2_32]) VLC_ADD_LIBS([live555],[-lws2_32])
fi 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}/BasicUsageEnvironment -lBasicUsageEnvironment])
VLC_ADD_LIBS([live555],[-L${real_live555_tree}/groupsock -lgroupsock]) 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}/BasicUsageEnvironment/include])
VLC_ADD_CXXFLAGS([live555],[-I${real_live555_tree}/groupsock/include]) VLC_ADD_CXXFLAGS([live555],[-I${real_live555_tree}/groupsock/include])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment