Ok! I have another problem with pc files but I solve it downstream. When I configure systemd with --configure=/usr and set the DESTDIR to my host path, the pc files don't have the DESTDIR extension. I solve it manually by 'sed'ding the files after installation. I thought maybe your patch solves this problem too. Thanks!
On Thu, Mar 12, 2015 at 8:27 AM, Jeff Waugh <j...@bethesignal.org> wrote: > On Thu, Mar 12, 2015 at 6:16 PM, Umut Tezduyar Lindskog > <u...@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. > > OpenWrt includes an equivalent change for kmod (which Lucas mentioned > as I've submitted it upstream), and without an upstream change will > have to carry one for systemd too. > > Finally, a supporting appeal to authority: If you check GNOME-land, > practically all pkg-config files are generated at configure time. :-) _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel