[FFmpeg-devel] [PATCH] Add versioning information to dlls

Diego Biurrun diego
Thu May 29 23:58:08 CEST 2008


On Thu, May 29, 2008 at 04:31:26PM -0400, Jeremy Kolb wrote:
> 
> Diego Biurrun wrote:
> > On Thu, May 29, 2008 at 09:49:29AM -0400, Jeremy Kolb wrote:
> >
> > What stops you from compiling the .rc file into a standard .o file and
> > adding that to OBJS?  We do that in MPlayer, it seems to work fine.
> >   
> So you are suggesting editing each Makefile and adding the .o file to 
> objs?

In MPlayer I have

OBJS_MPLAYER-$(PE_EXECUTABLE) += osdep/mplayer-rc.o

osdep/mplayer-rc.o: osdep/mplayer.rc version.h
	$(WINDRES) -I. -o $@ $<

Does that explain my idea?

> Will that work for each platform though?

I don't see why it should not...

Diego




More information about the ffmpeg-devel mailing list