From 8b45384a7c9162d30309345ae863b4cab86aeda1 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 25 Jun 2024 20:10:02 +0200 Subject: Fix thinko in run/tests on macOS. --- run/tests | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/run/tests b/run/tests index 9bbfb3fc6..4e38dbfce 100755 --- a/run/tests +++ b/run/tests @@ -86,7 +86,11 @@ if [ "$(uname)" == "Darwin" ]; then ln -s ../../../openssl/apps/openssl build/test/openssl # We need to find ffcmp in here export PATH=$PATH:$HOME/workspace/bin - export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$environment/$(uname -m)/11.0/lib + if [ -d "$environment/$(uname -m)/11.0" ]; then + export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$environment/$(uname -m)/11.0/lib + else + export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$environment/$(uname -m)/10.10/lib + fi fi if [ "$check" == "1" ]; then -- cgit v1.2.3