summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/d3dadapter9/meson.build
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2018-03-12 16:32:59 -0700
committerDylan Baker <[email protected]>2018-03-29 10:20:52 -0700
commitc445b1d56f47922206de55e557444aadb62e11f6 (patch)
tree1d6f12f13c8b4070e43bc622436003b43b2bc926 /src/gallium/targets/d3dadapter9/meson.build
parentacadf06f564da15c0bfc44265e804b866fbb9cb3 (diff)
meson: Use the same version for all libdrm checks
Currently each driver specifies it's own version, and core libdrm specifies a version. In the most common case this is fine, since there will be exactly one libdrm installed on a system, but if there are more than one it's possible that mesa will be linked against different versions of libdrm. There is also the possibility that the current approach makes the pkg-config files we generate incorrect, since there could be #defines that use newer features if they're available. This patch corrects all of that. All of the versions are still set by driver (along with a default core version). Then all of the drivers that are enabled have their versions compared and the highest version is selected, then all libdrm checks are made with that version. v2: - Reorder the list to have the name first and whether the dependency is needed second (Eric) Signed-off-by: Dylan Baker <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/gallium/targets/d3dadapter9/meson.build')
0 files changed, 0 insertions, 0 deletions