[systemd-devel] [PATCH] Fix install location of systemd.pc

Michael Biebl mbiebl at gmail.com
Wed Dec 31 11:44:35 PST 2014


Am 31.12.2014 12:54 schrieb "Simon Peeters" <peeters.simon at gmail.com>:
>
> 2014-12-31 11:12 GMT+00:00 Martin Pitt <martin.pitt at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141231/d93fade4/attachment.html>


More information about the systemd-devel mailing list