<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - udev.pc should go to libdir/pkgconfig not datadir/pkgconfig"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89769#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - udev.pc should go to libdir/pkgconfig not datadir/pkgconfig"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89769">bug 89769</a>
from <span class="vcard"><a class="email" href="mailto:kay@vrfy.org" title="Kay Sievers <kay@vrfy.org>"> <span class="fn">Kay Sievers</span></a>
</span></b>
<pre>(In reply to Benedikt Morbach from <a href="show_bug.cgi?id=89769#c6">comment #6</a>)
<span class="quote">> (In reply to Kay Sievers from <a href="show_bug.cgi?id=89769#c5">comment #5</a>)
> > 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.</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>