aboutsummaryrefslogtreecommitdiff
path: root/vulkaninfo/macOS/vulkaninfo_run.command
diff options
context:
space:
mode:
authorCharles Giessen <charles@lunarg.com>2020-04-07 13:18:18 -0600
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2020-04-07 14:18:33 -0600
commit4acb8fe0b1336f3b98fabf741e86e8ab590f6926 (patch)
treedc091ff4555686f91d5a51b27b3db1c7d75a3c6e /vulkaninfo/macOS/vulkaninfo_run.command
parent1fbefe048387b827a8f9859c0754bce2f09d1985 (diff)
downloadusermoji-4acb8fe0b1336f3b98fabf741e86e8ab590f6926.tar.xz
vulkaninfo: fix app bundle not finding loader
The change of vulkaninfo to dlopen the loader broke the app bundle. This commit fixes it by manually setting up DYLD_LIBRARY_PATH before starting vulkaninfo, ensuring that it can be found.
Diffstat (limited to 'vulkaninfo/macOS/vulkaninfo_run.command')
-rwxr-xr-xvulkaninfo/macOS/vulkaninfo_run.command4
1 files changed, 4 insertions, 0 deletions
diff --git a/vulkaninfo/macOS/vulkaninfo_run.command b/vulkaninfo/macOS/vulkaninfo_run.command
new file mode 100755
index 00000000..de730e82
--- /dev/null
+++ b/vulkaninfo/macOS/vulkaninfo_run.command
@@ -0,0 +1,4 @@
+#!/bin/bash
+BASEDIR=`dirname $0`
+export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$BASEDIR
+$BASEDIR/vulkaninfo