summaryrefslogtreecommitdiff
path: root/mesa-run
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2024-07-29 11:54:15 -0400
committerMatt Turner <mattst88@gmail.com>2024-08-05 15:42:35 -0400
commita7e9e2216553750130946776e857f4f7be678d25 (patch)
treee8b691208aca262e0b3a1991a4f4f62946fddd2d /mesa-run
parent843e1a45bce308b18adf98d87d3f0765ecb8a15d (diff)
mesa-debug-asan: Set LD_PRELOAD
Diffstat (limited to 'mesa-run')
-rwxr-xr-xmesa-run2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesa-run b/mesa-run
index 49825d7..b8b6176 100755
--- a/mesa-run
+++ b/mesa-run
@@ -75,4 +75,4 @@ libdir=$(jq -r '.[] | select(.name == "libdir").value' "${builddir}"/meson-info/
export LD_LIBRARY_PATH="${prefix}/${libdir}:${LD_LIBRARY_PATH}"
export LIBGL_DRIVERS_PATH="${prefix}/${libdir}"/dri
export VK_ICD_FILENAMES="${prefix}"/share/vulkan/icd.d/"${vk_icd}"
-exec "$@"
+LD_PRELOAD="${GCC_ASAN_PRELOAD}" exec "$@"