Mercurial > mplayer.hg
diff configure @ 7148:d48db6256efb
use dir/libname.a instead of -Ldir -lname
partially done by "Steven M. Schultz" <sms@2BSD.COM>
Note: some entries (libmpdvdkit, libdha) left unchanged as they may be
dynamic and not shipped with mplayer.
author | arpi |
---|---|
date | Thu, 29 Aug 2002 21:30:57 +0000 |
parents | 2c34499ef4af |
children | c672c79cb396 |
line wrap: on
line diff
--- a/configure Thu Aug 29 21:09:48 2002 +0000 +++ b/configure Thu Aug 29 21:30:57 2002 +0000 @@ -2820,7 +2820,7 @@ if test "$_mp1e" != no ; then _mp1e=yes _def_mp1e='#define USE_MP1E' - _ld_mp1e="-Llibmp1e -lmp1e" + _ld_mp1e='libmp1e/libmp1e.a' _dep_mp1e='libmp1e/libmp1e.a' else _mp1e=no @@ -2854,8 +2854,8 @@ _def_fame='#undef USE_LIBFAME' if test "$_fame" = yes ; then _def_fame='#define USE_LIBFAME 1' - _ld_fame='-Llibfame -lfame' -fi + _ld_fame='libfame/libfame.a' +fi ######### @@ -3370,7 +3370,7 @@ fi if test "$_win32" = yes ; then _def_win32='#define USE_WIN32DLL 1' - _ld_win32='-Lloader -lloader' + _ld_win32='loader/libloader.a' _dep_win32='loader/libloader.a' _codecmodules="win32 $_codecmodules" echores "yes (using $_win32libdir)" @@ -3430,7 +3430,7 @@ if test "$_dshow" = yes ; then _def_dshow='#define USE_DIRECTSHOW 1' - _ld_dshow='-Lloader/dshow -lDS_Filter' + _ld_dshow='loader/dshow/libDS_Filter.a' _dep_dshow='loader/dshow/libDS_Filter.a' _codecmodules="directshow $_codecmodules" else @@ -3652,7 +3652,7 @@ _def_ffpostprocess='#undef FF_POSTPROCESS' if test "$_libavcodec" = yes ; then _def_libavcodec='#define USE_LIBAVCODEC 1' - _ld_libavcodec='-Llibavcodec -lavcodec' + _ld_libavcodec='libavcodec/libavcodec.a' _dep_libavcodec='libavcodec/libavcodec.a' _def_ffpostprocess='#define FF_POSTPROCESS 1' _codecmodules="libavcodec $_codecmodules" @@ -3798,7 +3798,7 @@ elif test "$_opendivx" != no ; then _divx4linux=no _opendivx=yes - _ld_decore='-Lopendivx -ldecore' + _ld_decore='opendivx/libdecore.a' _def_decore='#undef NEW_DECORE' _def_divx='#define USE_DIVX' _def_divx5='#undef DECORE_DIVX5'