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

Michael Biebl mbiebl at gmail.com
Thu Mar 12 07:25:16 PDT 2015


2015-03-12 8:27 GMT+01:00 Jeff Waugh <jdub at bethesignal.org>:
> 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.

Why is the configure produced .pc file better for suited for cross-compilation?
I must be missing something here.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the systemd-devel mailing list