[FFmpeg-devel] [PATCH] Make libpostproc build both shared and static from the same objects

Diego Biurrun diego
Thu Jan 10 11:55:57 CET 2008

On Tue, Jan 08, 2008 at 07:37:31PM +0100, Diego 'Flameeyes' Petten? wrote:
> The attached patch makes libpostproc build the static archive using the
> same (PIC) objects used for shared objects. This way it avoids compiling
> the postprocess.c file twice for the same result (by default here at
> least it gets -fPIC on both), and it also does not fail anymore to be
> considered by make depend.

It does not get -fPIC here on x86_32 while it does on PPC.

Yes, I have often wondered about this anomaly myself, but I'm not sure
what the original reason to handle things this way were.  Can anybody
enlighten us please?


More information about the ffmpeg-devel mailing list