mirror of https://github.com/mpv-player/mpv
Also check linker flags to make sure that liveMedia libraries are there, too,
not just the headers. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29598 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8593195592
commit
8eab1ca95c
|
@ -6853,7 +6853,8 @@ EOF
|
||||||
_live=yes && break
|
_live=yes && break
|
||||||
done
|
done
|
||||||
if test "$_live" != yes ; then
|
if test "$_live" != yes ; then
|
||||||
if cxx_check -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/groupsock; then
|
ld_tmp="-lliveMedia -lgroupsock -lUsageEnvironment -lBasicUsageEnvironment -lstdc++"
|
||||||
|
if cxx_check -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/groupsock $ld_tmp; then
|
||||||
_live_dist=yes
|
_live_dist=yes
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -6866,7 +6867,7 @@ elif test "$_live_dist" = yes && test "$_network" = yes; then
|
||||||
_res_comment="using distribution version"
|
_res_comment="using distribution version"
|
||||||
_live="yes"
|
_live="yes"
|
||||||
def_live='#define CONFIG_LIVE555 1'
|
def_live='#define CONFIG_LIVE555 1'
|
||||||
extra_ldflags="$extra_ldflags -lliveMedia -lgroupsock -lUsageEnvironment -lBasicUsageEnvironment -lstdc++"
|
extra_ldflags="$extra_ldflags $ld_tmp"
|
||||||
extra_cxxflags="-I/usr/include/liveMedia -I/usr/include/UsageEnvironment \
|
extra_cxxflags="-I/usr/include/liveMedia -I/usr/include/UsageEnvironment \
|
||||||
-I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock"
|
-I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock"
|
||||||
_inputmodules="live555 $_inputmodules"
|
_inputmodules="live555 $_inputmodules"
|
||||||
|
|
Loading…
Reference in New Issue