Re: [PATCH] build: generate libkmod.pc during autoconf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Lucas,

On Wed, Mar 11, 2015 at 4:04 AM, Lucas De Marchi
<lucas.de.marchi@xxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux