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

--- Comment #1 from Dylan Baker <baker.dyla...@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to