util: Make process_test path compatible with mingw native toolchains
authorpal1000 <liviuprodea@yahoo.com>
Fri, 24 Apr 2020 14:06:01 +0000 (17:06 +0300)
committerMarge Bot <eric+marge@anholt.net>
Fri, 8 May 2020 14:09:09 +0000 (14:09 +0000)
commit772b15ad3227e08bb4e18932ac9ecf4c29271160
tree92a2a0585ecf667b009c5b8f89b3bf901ec52a98
parent696bafac40f5f15ae140a2e844fb1b31d4918ebe
util: Make process_test path compatible with mingw native toolchains

v2: Make sure we require winepath when using mingw crosscompilers

v3: Also take into account mingw clang toolchains

Acked-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Fixes: f8f14130 ("util/u_process: add util_get_process_exec_path")
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2788
CC: "20.1" <mesa-stable@lists.freedesktop.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4731>
src/util/meson.build