diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-29 22:19:54 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-29 22:19:54 +0000 |
commit | 0f93dff543bd6e44294450ae95104a8d91d9629d (patch) | |
tree | f02c750e87a35e24f9c792e8a551ee3fdb7911f4 | |
parent | e6be635192ee0a4f44bf6d8799de67f4f337b4ab (diff) | |
download | mpv-0f93dff543bd6e44294450ae95104a8d91d9629d.tar.bz2 mpv-0f93dff543bd6e44294450ae95104a8d91d9629d.tar.xz |
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
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |