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

Måns Rullgård mans
Tue Jan 8 20:26:24 CET 2008

flameeyes at gmail.com (Diego 'Flameeyes' Petten?) writes:

> 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.

Might I instead suggest we change the build system so static libs are
built as non-PIC?  Currently, building both static and shared libs
results in PIC static libs, which might be slower than if not building
the shared libs.  This is a strange situation, and I'm sure Rich can
tell you how bad it is.

> Make libpostproc build all the libraries with PIC support, like the rest
> From: Diego 'Flameeyes' Petten?? <flameeyes at gmail.com>
> of libav* libraries do.

That's a strange style of interleaving text and header lines...

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list