From 4acb8fe0b1336f3b98fabf741e86e8ab590f6926 Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Tue, 7 Apr 2020 13:18:18 -0600 Subject: 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. --- vulkaninfo/macOS/vulkaninfo_run.command | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 vulkaninfo/macOS/vulkaninfo_run.command (limited to 'vulkaninfo/macOS/vulkaninfo_run.command') 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 -- cgit v1.2.3