<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - meson incorrectly handles/reports libdrm_$foo"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109062#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - meson incorrectly handles/reports libdrm_$foo"
href="https://bugs.freedesktop.org/show_bug.cgi?id=109062">bug 109062</a>
from <span class="vcard"><a class="email" href="mailto:baker.dylan.c@gmail.com" title="Dylan Baker <baker.dylan.c@gmail.com>"> <span class="fn">Dylan Baker</span></a>
</span></b>
<pre>Relevant to this change proposal though, lets say we have:
/usr/lib/libdrm*.2.4.75; /usr/local/lib/libdrm*.2.4.95
and
PKG_CONFIG_PATH=/usr/lib/pkg-config:/usr/local/lib/pkg-config
if our dependencies are:
libdrm_intel = 2.4.75
libdrm_radeonsi = 2.4.95
And we configure i915 and radeonsi, under your proposal wouldn't we end up with
both -L/usr/lib -ldrm -ldrm_intel and -L/usr/local/lib -ldrm -ldrm_amdgpu in
the link args of any target that requires both libdrm_intel and libdrm_amdgpu
since pkg-config will come along and say, "libdrm in /usr/lib is good enough
for intel", but then get to radeonsi and go, "nope we need the one in
/usr/local/lib for amdgpu"?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>