[FFmpeg-devel] [PATCH] Make libpostproc build both shared and static from the same objects
Mon Jan 14 15:43:03 CET 2008
On Thu, Jan 10, 2008 at 11:55:57AM +0100, Diego Biurrun wrote:
> 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?
I applied the patch. If this creates problems we shall find out
More information about the ffmpeg-devel