[systemd-devel] [PATCH] build: generate pkg-config files during configure

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Thu Mar 12 16:32:59 PDT 2015


On Fri, Mar 13, 2015 at 09:54:48AM +1100, Jeff Waugh wrote:
> On Fri, Mar 13, 2015 at 8:53 AM, Zbigniew Jędrzejewski-Szmek
> <zbyszek at in.waw.pl> wrote:
> > So you prefer the second version to the first, right? Does not
> > exec_prefix get assigned and then substituted, leading to an identical
> > result?
> 
> Those are the as-installed versions (they're not manipulated again during make).
I wasn't sufficiently clear. I meant substituted *by pkg-config*,
leading to an identical result for anything which queries pkg-config
for those values.

> >> And how does that improve cross-compilation?
> >
> > It allows you to successfully build other software that uses the
> > library. A minor detail. :-)
>
> Well, I was looking for a more elaborate explanation, why that change
> makes a difference.
> To me, the resulting .pc are basically the same. So there must be
> something else I'm missing.
Exactly my thoughts.

Zbyszek


More information about the systemd-devel mailing list