mirror of https://github.com/mpv-player/mpv
Fix compilation without librtmp.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31285 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
49c904b517
commit
971633b168
|
@ -7234,9 +7234,11 @@ EOF
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "$_librtmp" = yes && test "$_network" = yes; then
|
if test "$_librtmp" = yes && test "$_network" = yes; then
|
||||||
|
nolibrtmp=no
|
||||||
def_librtmp='#define CONFIG_LIBRTMP 1'
|
def_librtmp='#define CONFIG_LIBRTMP 1'
|
||||||
inputmodules="librtmp $inputmodules"
|
inputmodules="librtmp $inputmodules"
|
||||||
else
|
else
|
||||||
|
nolibrtmp=yes
|
||||||
_librtmp=no
|
_librtmp=no
|
||||||
def_librtmp='#undef CONFIG_LIBRTMP'
|
def_librtmp='#undef CONFIG_LIBRTMP'
|
||||||
noinputmodules="librtmp $noinputmodules"
|
noinputmodules="librtmp $noinputmodules"
|
||||||
|
@ -8792,6 +8794,7 @@ CONFIG_RDFT = yes
|
||||||
|
|
||||||
$mak_hardcoded_tables
|
$mak_hardcoded_tables
|
||||||
$mak_libavcodec_mpegaudio_hp
|
$mak_libavcodec_mpegaudio_hp
|
||||||
|
!CONFIG_LIBRTMP = $nolibrtmp
|
||||||
CONFIG_LIBRTMP = $_librtmp
|
CONFIG_LIBRTMP = $_librtmp
|
||||||
|
|
||||||
CONFIG_BZLIB = $bzlib
|
CONFIG_BZLIB = $bzlib
|
||||||
|
|
Loading…
Reference in New Issue