[systemd-bugs] [Bug 89769] udev.pc should go to libdir/pkgconfig not datadir/pkgconfig
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Mar 26 10:58:20 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=89769
--- Comment #7 from Kay Sievers <kay at vrfy.org> ---
(In reply to Benedikt Morbach from comment #6)
> (In reply to Kay Sievers from comment #5)
> > That does not matter a single bit. They serve the same purpose. They are
> > _generic_ package config files, and they do not belong in $libdir.
>
> That's not how it works. They export directories that are inherently
> arch-specific because they contain binaries. $libexecdir is arch-specific,
> some distros don't even use it and use $libdir instead, which is also arch
> specific. Arch-specific pkgconfig files belong in $libdir.
>
> With a multiarch approach you can have systemd installed for multiple
> architectures, e.g. to /usr/lib/${host} and to be able to compile other
> programs against it, the arch-specific pkgconfig files have to be in $libdir
> as well. There really isn't much of a "primary arch" in that case.
This is all wrong. $libexedir is NOT arch specific. But none of the wrong
things here really matter.
What matters is that systemd.pc and udev.pc are GENERIC files,
not arch-dependent.
The SECONDARY arch needs to find the GENERIC file, but it will not look
into the PRIMARY arch's $libdir.
These files just do not belong into $libdir, it is not what they are provided
for and it will just not work as intended.
Also, that systemd.pc carries $libdir as a variable to point out the
PRIMARY arch, is no indication that this file should live in $libdir,
quite the opposite is the case.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150326/d78a1d01/attachment.html>
More information about the systemd-bugs
mailing list