From 55f1927db0565c74ff7c121645ec397c07f63d51 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 26 Mar 2024 20:29:49 +0100 Subject: [PATCH 1/1] Add "build" environment lib to local run script. --- run/environment | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run/environment b/run/environment index a0a2a0782..ddb642eed 100644 --- a/run/environment +++ b/run/environment @@ -1,6 +1,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" build=$DIR/../build -export LD_LIBRARY_PATH=$build/src/lib:$build/src/wx:/usr/local/lib64:/usr/local/lib:$LD_LIBRARY_PATH +env=$DIR/../../.. +export LD_LIBRARY_PATH=$build/src/lib:$build/src/wx:$env/lib:/usr/local/lib64:/usr/local/lib:$LD_LIBRARY_PATH if [[ $(readlink -f $DIR/..) =~ (.*build/[^/]*) ]]; then export LD_LIBRARY_PATH=${BASH_REMATCH[1]}/lib:$LD_LIBRARY_PATH fi -- 2.30.2