[FFmpeg-devel] [PATCH] Use pkgconfig for dirac libs
Thu Oct 23 11:17:27 CEST 2008
On Thu, Oct 23, 2008 at 09:56:50AM +0200, Reinhard Tartler wrote:
> M?ns Rullg?rd <mans at mansr.com> writes:
> > Luca Barbato <lu_zero at gentoo.org> writes:
> >> On 23-10-2008 0:36, M?ns Rullg?rd wrote:
> >>> Maybe you are too far gone to be saved, but I had to try my best.
> >>> I'll try one more time: what CFLAGS could you possibly need to pass
> >>> aside from a -I flag to indicate the location of the headers?
> >> -pthreads ?
> > That is not a standard flag.
> Putting arbitary additional information about what a library needs as
> you suggest is not standard but very toolchain specific as well.
> On the other hand using a tool that maintains that information
> externally  could take the used compiler into account and add some
> compatibilty glue. Sure, pkg-config might not do that today, however it
> seems to me that the approach of using an external tool instead of
> modifying all existing toolchains on this planet seems to me a more
> feasible solution.
if all existing linkers lack a feature / are broken it very well may be
easier to design a single wraper tool that works around that than fixing
all the linkers, some maybe with unresponsive upstreams.
But this is a very shortsighted way of thinking, it also only considers
the amount of work needed to "fix" it somehow not the amount of work,
time or RTFM the "fix" needs for each user compared to the alternative
fix with linkers "just working".
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I have often repented speaking, but never of holding my tongue.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel