summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2022-09-19 10:43:37 -0400
committerMatt Turner <mattst88@gmail.com>2022-09-19 10:43:37 -0400
commit770644946adb2e7afdcc5cea3312050499058ac6 (patch)
tree96436787cc29a35c02714fbb7d66e6b7f3497bd5
parent029938d081f2a394d354d37c994d14b1474412b2 (diff)
Preserve LD_LIBRARY_PATHHEADmaster
-rwxr-xr-xmesa-run2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesa-run b/mesa-run
index ffbc166..1196d4e 100755
--- a/mesa-run
+++ b/mesa-run
@@ -57,7 +57,7 @@ if ! command -v jq &> /dev/null; then
fi
libdir=$(jq -r '.[] | select(.name == "libdir").value' "${builddir}"/meson-info/intro-buildoptions.json)
-export LD_LIBRARY_PATH="${prefix}/${libdir}"
+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 $@