Hi Lucas,
On Wed, Mar 11, 2015 at 4:04 AM, Lucas De Marchi
<[email protected]> wrote:
> what exactly are you solving here? What's the problem with doing it
> during make not during configure?
It certainly affects cross-compiling. Possibly other stuff.
Here's the relevant part of libkmod.pc when produced during make:
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib
includedir=/usr/include
And during configure:
prefix=/usr
exec_prefix=/usr
libdir=${exec_prefix}/lib
includedir=${prefix}/include
> > like other packages do. (Patch from OpenWrt's contributed packages project.)
>
> others do like we do, too:
> https://git.kernel.org/cgit/linux/kernel/git/kay/libabc.git/tree/Makefile.am
> http://cgit.freedesktop.org/systemd/systemd/tree/Makefile.am
>
> should they be changed, too?
Yes! I was just about to send a fix for systemd, as that burned me too. :-)
(If you check any of the libraries on git.gnome.org, their pkg-config
files are generated during configure.)
Thanks,
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html