https://bugs.freedesktop.org/show_bug.cgi?id=109062

--- Comment #10 from Dylan Baker <baker.dyla...@gmail.com> ---
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"?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to