On Wed, Dec 31, 2014 at 08:44:35PM +0100, Michael Biebl wrote:
> Am 31.12.2014 12:54 schrieb "Simon Peeters" <peeters.si...@gmail.com>:
> >
> > 2014-12-31 11:12 GMT+00:00 Martin Pitt <martin.p...@ubuntu.com>:
> > > Simon Peeters [2014-12-29 15:01 +0000]:
> > >> I have no preference between the 2, but moving the pc file to
> > >> $libdir/pkgconfig just does not make sense.
> > >
> > > Why not? pkg-config looks in both /usr/share and /usr/lib, so it
> > > doesn't care. And you can't install systemd for multiple architectures
> > > in parallel anyway, so you'd only ever have one version installed.
> >
> > Let me rephrase what I wrote above that quote:
> >
> > If I understand lennarts commit message, the only reason for libdir to
> > be in the pc file is to find the libdir for the primary arch.
> > moving this pc file into $libdir/pkgconfig would require you to know
> > the libdir for the primary arch (or at least the one systemd was
> > compiled for) in order to read it
> 
> I don't think this is true. Usually one doesn't parse .pc files directly
> but instead you use pkg-config. So you don't need to know the libdir for
> the primary arch.

Yeah, you can find out the libdir in other ways, but having it in the .pc
file is convenient. Martin, please push the patch.

Zbyszek
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to