[Mesa-dev] [Bug 109062] meson incorrectly handles/reports libdrm_$foo

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 14 16:40:34 UTC 2018


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

--- Comment #1 from Dylan Baker <baker.dylan.c at gmail.com> ---
In meson we iterate through all of the libdrm versions required for each
enabled target, then select the hightest version and check only for that
version of libdrm and libdrm_*. We do this specifically to avoid picking up two
different versions of libdrm. A little above this in the meson output there is
a line similar to:

message: libdrm 2.4.95 needed because amdgpu has the highest requirement

I implemented this because Ilia had pointed out cases where pkg-config could
load the libdrm from his system directory, but the libdrm_nouveau from a custom
install directory because the version differences. Eric and I spent a lot of
time trying to figure out the best way to handle this, and the message right
before the version check was the best we could come up with. Ideas to make this
clearer are welcome.

-- 
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/20181214/5cb492b1/attachment.html>


More information about the mesa-dev mailing list