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

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Thu Mar 12 14:53:03 PDT 2015


On Thu, Mar 12, 2015 at 06:27:14PM +1100, Jeff Waugh wrote:
> On Thu, Mar 12, 2015 at 6:16 PM, Umut Tezduyar Lindskog
> <umut at tezduyar.com> wrote:
> > What does this fix Jeff, could you please explain?
> 
> Here's the relevant part of a pkg-config file produced during make:
> 
> prefix=/usr
> exec_prefix=/usr
> libdir=/usr/lib
> includedir=/usr/include
> 
> Versus during configure:
> 
> prefix=/usr
> exec_prefix=/usr
> libdir=${exec_prefix}/lib
> includedir=${prefix}/include
> 
> Which disproportionately affects cross-compiling and similar build situations.
So you prefer the second version to the first, right? Does not
exec_prefix get assigned and then substituted, leading to an identical
result?

Zbyszek


More information about the systemd-devel mailing list