[Ffmpeg-devel] Re: [PATCH] Fix --enable-shared on Darwin

Dan Villiom Podlaski Christiansen danchr
Wed Jun 22 16:24:04 CEST 2005


Dan Villiom Podlaski Christiansen wrote:
> The attached patch fixes --enable-shared so that it builds proper 
> Mach-O dynamic libraries on Darwin & Mac OS X...

It appears that I posted the patch a bit too early. Here's a slightly 
updated version which removes a few warts.

The resulting binary is linked as:

% otool -L =ffmpeg
/usr/local/bin/ffmpeg:
        /usr/local/lib/libavformat.dylib (compatibility version 0.0.0, 
current version 0.4.9)
        /usr/local/lib/libavcodec.dylib (compatibility version 0.0.0, 
current version 0.4.9)
        /usr/lib/libmx.A.dylib (compatibility version 1.0.0, current 
version 92.0.0)
        /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, 
current version 1.2.2)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 88.0.0)
        /opt/local/lib/libvorbisenc.2.dylib (compatibility version 
3.0.0, current version 3.0.0)
        /opt/local/lib/libvorbis.0.dylib (compatibility version 4.0.0, 
current version 4.0.0)
        /opt/local/lib/libogg.0.dylib (compatibility version 6.0.0, 
current version 6.2.0)
        /opt/local/lib/libfaad.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
        /opt/local/lib/libfaac.0.dylib (compatibility version 1.0.0, 
current version 1.0.0)
        /opt/local/lib/libxvidcore.4.dylib (compatibility version 4.0.0, 
current version 4.0.0)

- Dan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ffmpeg-dynamic-darwin-2.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050622/6b06a6ea/attachment.txt>



More information about the ffmpeg-devel mailing list