mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 04:36:24 +01:00
Fix Theora check without pkgconfig, -ltheora will not link on its own,
-logg is needed as well. patch by Gianluigi Tiesi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24669 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
e6be635192
commit
0f93dff543
4
configure
vendored
4
configure
vendored
@ -5913,12 +5913,12 @@ int main(void)
|
||||
return 0;
|
||||
}
|
||||
EOF
|
||||
for _ld_theora in "`$_pkg_config --silence-errors --libs --cflags theora`" "-ltheora"; do
|
||||
for _ld_theora in "`$_pkg_config --silence-errors --libs --cflags theora`" "-ltheora -logg"; do
|
||||
cc_check $_ld_theora && _ld_extra="$_ld_extra $_ld_theora" \
|
||||
&& _theora=yes && break
|
||||
done
|
||||
if test "$_theora" = no && test "$_tremor_internal" = yes; then
|
||||
for _ld_theora in "`$_pkg_config --silence-errors --libs --cflags theora`" "-ltheora"; do
|
||||
for _ld_theora in "`$_pkg_config --silence-errors --libs --cflags theora`" "-ltheora -logg"; do
|
||||
cc_check -I. tremor/bitwise.c $_ld_theora \
|
||||
&& _ld_extra="$_ld_extra $_ld_theora" && theora=yes && break
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user