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.
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel