[MPlayer-dev-eng] [PATCH] Bugfix for static linking with SDL

Krister Lagerstrom krister at kmlager.com
Mon Jan 13 00:07:24 CET 2003


Arpi wrote:
> Hi,
> 
> 
>> 
>>-VO_LIBS = $(AA_LIB) $(X_LIB) $(SDL_LIB) $(GGI_LIB) $(MP1E_LIB) $(MLIB_LIB) $(SVGA_LIB) $(DIRECTFB_LIB) $(GIF_LIB) 
>>+VO_LIBS = $(AA_LIB) $(SDL_LIB) $(X_LIB) $(GGI_LIB) $(MP1E_LIB) $(MLIB_LIB) $(SVGA_LIB) $(DIRECTFB_LIB) $(GIF_LIB) 
>> AO_LIBS = $(ARTS_LIB) $(ESD_LIB) $(NAS_LIB) $(SGIAUDIO_LIB)
> 
> 
> afair that well-known XineramaScreen runtime linker problem
> (actually a name clash between X & SDL) was fixed by
> swapping SDL & X libs few months ago.

Is there any interest in making mplayer being able to link statically
with SDL? For me it is not a big deal to fix the Makefile manually when
I compile it for Freevo releases, but it would be a little easier.

I'm no expert on linking problems, maybe the X_LIB (minus Xinemara
perhaps?) can be included again after SDL_LIB? If it can't be fixed
easily we can just leave it as it is...

	/ Krister



More information about the MPlayer-dev-eng mailing list