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

Diego Biurrun diego
Mon Feb 9 22:42:36 CET 2009


On Mon, Feb 09, 2009 at 06:04:09PM -0200, Ramiro Polla wrote:
> [...]
> 
> New patch attached.
> 
> Changes:
> - I couldn't get the CFLAGS += thing to work for DEPEND_CMD for .d
> files out of .rc files, so I just renamed dllinfo.rc to dllinfo.c.
> This way the current DEPEND_CMD catches it just fine. Then added a
> special rule for dllinfo.c instead of generic %.rc in common.mak

Elaborate.

> For the release effort =)

:)

> --- configure (revision 17100)
> +++ configure (working copy)
> @@ -2519,3 +2525,65 @@
> +
> +dllinfo_generate() {
> +    name=$1
> +    description=$2
> +    version=$3
> +    major=${version%%.*}
> +    version_commas=`echo $version | tr . ,`,0

Use $() instead of ``.

Diego




More information about the ffmpeg-devel mailing list