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

Kolb, Jeremy jkolb
Mon Feb 9 23:18:03 CET 2009


> [...]
> 
> 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
> - cross-compilation now works (cross-prefix added to windres and
> <winver.h> lowercased)
> - $build_suffix was added to OriginalFileName
> - Updated year to 2009
> 
> Tested under linux, under cross-compilation to windows from linux, and
> under windows, with these options:
> --enable-shared --disable-static
> --enable-shared --enable-static
> --disable-shared --enable-static
> 
> For the release effort =)
> 
> Ramiro Polla

Fantastic!

I hope it gets accepted this time.

When I originally wrote this I only enabled it under mingw 32/64 but
Cygwin would also benefit.

Jeremy




More information about the ffmpeg-devel mailing list