Skip to content

Commit

Permalink
fix: wrong linker path
Browse files Browse the repository at this point in the history
  • Loading branch information
BartSte committed Feb 20, 2024
1 parent 5288440 commit b01340f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/install/snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ while [ -L "$source" ]; do
done
this_dir=$(cd -P "$(dirname "$source")" >/dev/null 2>&1 && pwd)

LD_LIBRARY_PATH="$this_dir"
LD_LIBRARY_PATH="$this_dir/runtime"
export LD_LIBRARY_PATH
"$this_dir/runtime/snapshot_bin" "$@"
7 changes: 5 additions & 2 deletions scripts/install/snapshot_tests
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ while [ -L "$source" ]; do
done
this_dir=$(cd -P "$(dirname "$source")" >/dev/null 2>&1 && pwd)

export LD_LIBRARY_PATH="$this_dir"
export QT_QPA_PLATFORM=offscreen
LD_LIBRARY_PATH="$this_dir/runtime"
export LD_LIBRARY_PATH

QT_QPA_PLATFORM=offscreen
export QT_QPA_PLATFORM

ldd "$this_dir/runtime/tests_bin" | grep "not found" && exit 1
"$this_dir/runtime/tests_bin" "$@"

0 comments on commit b01340f

Please sign in to comment.