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

Diego Biurrun diego
Fri May 30 17:29:09 CEST 2008


On Fri, May 30, 2008 at 10:54:58AM -0400, Jeremy Kolb wrote:
> 
> 
> Diego Biurrun wrote:
> > 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?
> >
> I wasn't aware that you could do += in a makefile.  The version.h thing 
> is still biting me when I run make from a sublevel directory (libavutil 
> for example).

Let's see an updated patch, this discussion is too theoretical.

Diego




More information about the ffmpeg-devel mailing list