util/u_process: Add util_get_process_exec_path for macOS.
authorVinson Lee <vlee@freedesktop.org>
Tue, 24 Mar 2020 22:20:36 +0000 (15:20 -0700)
committerVinson Lee <vlee@freedesktop.org>
Wed, 25 Mar 2020 21:38:03 +0000 (14:38 -0700)
commit603f38f1715b5dd88c8ef8bbd1192a5e3ce8a7c5
tree96586f74a18c16b53b92038c40de239da261ab12
parent8cdace95acdf83bdab3d1f1a55e77aec1dfdb39e
util/u_process: Add util_get_process_exec_path for macOS.

Fixes: f8f1413070ae ("util/u_process: add util_get_process_exec_path")
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2682
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4313>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4313>
src/util/u_process.c