[MPlayer-dev-eng] [PATCH] library search order conflict

Arpi arpi at thot.banki.hu
Thu Aug 29 11:50:37 CEST 2002


Hi,

> 	Libraries local to MPlayer should, I think, be linked using 
> 	the form "liba52/liba52.a" instead of "-Lliba52 -la52".  The

yes. i prefer this path/lib.a form too, but i feel it isn't portable enough
otherwise other projects use tyhis form too.

actually the libtool project was created to solve this issue (make linkers
look compatible) but i hate it.

if no one is against this (especially non-linux maintainers!) then it's ok
to commit.

>  .
> -CODEC_LIBS = -Llibmpcodecs -lmpcodecs -Lmp3lib -lMP3 -Lliba52 -la52 -Llibmpeg2 -lmpeg2 $(AV_LIB) $(FAME_LIB) $(XVID_LIB).
> +CODEC_LIBS = -Llibmpcodecs -lmpcodecs -Lmp3lib -lMP3 liba52/liba52.a libmpeg2/libmpeg2.a $(AV_LIB) $(FAME_LIB) $(XVID_LIB).

but if we decide to do this change, then change it everywhere!


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list