mirror of https://github.com/mpv-player/mpv
Fix shared library libavutil check: test for av_clip instead of av_gcd.
av_gcd is not available in the header #included in the check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30550 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
5b67d8bfee
commit
93abb4f092
|
@ -7249,7 +7249,7 @@ elif test "$_libavutil_so" = auto ; then
|
|||
_libavutil_so=no
|
||||
cat > $TMPC << EOF
|
||||
#include <libavutil/common.h>
|
||||
int main(void) { av_gcd(1,1); return 0; }
|
||||
int main(void) { av_clip(1, 1, 1); return 0; }
|
||||
EOF
|
||||
if $_pkg_config --exists libavutil ; then
|
||||
_inc_libavutil=$($_pkg_config --cflags libavutil)
|
||||
|
|
Loading…
Reference in New Issue