[FFmpeg-devel] [PATCH] Fix pkg-config detection when using a cross-prefix

Michael Niedermayer michaelni at gmx.at
Sat Jun 30 13:14:21 CEST 2012


On Fri, Jun 29, 2012 at 10:08:06PM -0400, Kyle Schwarz wrote:
> On 6/29/2012 11:04 AM, Michael Niedermayer wrote:
> >On Fri, Jun 29, 2012 at 10:58:28AM -0400, Derek Buitenhuis wrote:
> >>On 29/06/2012 2:30 AM, Kyle Schwarz wrote:
> >>>The attached patch resolves a pkg-config issue.
> >>>
> >>>When a cross-prefix is used, FFmpeg searches for a cross-prefixed
> >>>pkg-config, and fails to use pkg-config if none if found.
> >>>
> >>>This patch allows a native system pkg-config to be used if a prefixed
> >>>one is not found.
> >>
> >>This seems like it could go quite wrong in some situations...
> >
> >seconded
> 
> Can you give me an example of when it could go bad?

what i had in mind (dunno if its the same as derek)
assume you have cross compilation environments installed for
5 platforms, each needs different flags for the libs and has the
libs in different places. How could 1 pkg-config be correct for all ?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120630/4d95dcae/attachment.asc>


More information about the ffmpeg-devel mailing list