mirror of
https://github.com/mpv-player/mpv
synced 2025-03-19 01:47:38 +00:00
fixed dll path with --enable-win32
bugrep by Maximo Ramos <maximo@violadores.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8778 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
518ad9894c
commit
0bc8481cf6
28
configure
vendored
28
configure
vendored
@ -3733,13 +3733,17 @@ else
|
|||||||
fi
|
fi
|
||||||
echores "$_faad"
|
echores "$_faad"
|
||||||
|
|
||||||
|
|
||||||
echocheck "Win32 DLL support"
|
|
||||||
qnx && _win32=no
|
|
||||||
cygwin && _win32="Win32 DLLs not supported under Cygwin"
|
|
||||||
if test "$_win32" = auto ; then
|
if test "$_win32" = auto ; then
|
||||||
_win32=no
|
|
||||||
if x86 ; then
|
if x86 ; then
|
||||||
|
cygwin && _win32=no # Win32 DLLs not supported under Cygwin
|
||||||
|
qnx && _win32=no
|
||||||
|
else
|
||||||
|
_win32=no # x86 arch only
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "$_win32" != no ; then
|
||||||
|
echocheck "Win32 codec DLL files path"
|
||||||
if test -z "$_win32libdir" ; then
|
if test -z "$_win32libdir" ; then
|
||||||
for I in "$_libdir/win32" /usr/local/lib/win32 /usr/lib/win32 ; do
|
for I in "$_libdir/win32" /usr/local/lib/win32 /usr/lib/win32 ; do
|
||||||
if test -d "$I" ; then
|
if test -d "$I" ; then
|
||||||
@ -3748,15 +3752,20 @@ if test "$_win32" = auto ; then
|
|||||||
fi;
|
fi;
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
test "$_win32libdir" && _win32=yes
|
echores "$_win32libdir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echocheck "Win32 codec DLL support"
|
||||||
|
if test "$_win32" = auto ; then
|
||||||
|
_win32=no
|
||||||
|
test -n "$_win32libdir" && _win32=yes
|
||||||
fi
|
fi
|
||||||
if test "$_win32" = yes ; then
|
if test "$_win32" = yes ; then
|
||||||
_def_win32='#define USE_WIN32DLL 1'
|
_def_win32='#define USE_WIN32DLL 1'
|
||||||
_ld_win32='loader/libloader.a'
|
_ld_win32='loader/libloader.a'
|
||||||
_dep_win32='loader/libloader.a'
|
_dep_win32='loader/libloader.a'
|
||||||
_codecmodules="win32 $_codecmodules"
|
_codecmodules="win32 $_codecmodules"
|
||||||
echores "yes (using $_win32libdir)"
|
echores "yes"
|
||||||
if openbsd ; then
|
if openbsd ; then
|
||||||
x86 && _ld_win32="$_ld_win32 -li386"
|
x86 && _ld_win32="$_ld_win32 -li386"
|
||||||
fi
|
fi
|
||||||
@ -3764,10 +3773,9 @@ else
|
|||||||
_def_win32='#undef USE_WIN32DLL'
|
_def_win32='#undef USE_WIN32DLL'
|
||||||
_nocodecmodules="win32 $_nocodecmodules"
|
_nocodecmodules="win32 $_nocodecmodules"
|
||||||
_dshow=no
|
_dshow=no
|
||||||
echores "$_win32"
|
echores "no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
echocheck "DirectShow"
|
echocheck "DirectShow"
|
||||||
if false ; then
|
if false ; then
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user