[Mesa-dev] [Bug 109062] meson incorrectly handles/reports libdrm_$foo
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Dec 18 17:51:30 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=109062
--- Comment #10 from Dylan Baker <baker.dylan.c at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181218/114cf8f1/attachment-0001.html>
More information about the mesa-dev
mailing list