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

Diego Biurrun diego
Thu Feb 12 02:50:52 CET 2009


On Tue, Feb 10, 2009 at 12:20:29AM -0200, Ramiro Polla wrote:
> 
> On Mon, Feb 9, 2009 at 9:05 PM, Ramiro Polla <ramiro.polla at gmail.com> wrote:
> 
> I took a different approach this time. Now the .rc files are no longer
> generated by configure, but rather a master dllinfo.rc is included
> from a dllinfo.rc in each subfolder. I've also added a ffmpegrc.rc
> that embeds information (and the icon I sent in the prevous e-mail)
> into ffmpeg_g.exe.

I'm not sure this is better, more like the contrary.  What are the
advantages of this approach?  The size of the patch ballooned from
7k to 16k after all...

> Please comment.
> 
> --- common.mak	(revision 17113)
> +++ common.mak	(working copy)
> @@ -27,18 +28,24 @@
>  
>  %.d: %.c
> -	$(DEPEND_CMD) > $@
> +	$(CC) $(CFLAGS) -MM -MG $< | $(DEPEND_CMD) > $@

If I am not mistaken "-MM -MG" are gcc-specific or at least nonstandard,
so we need to keep this setting in configure.

Diego




More information about the ffmpeg-devel mailing list