Line 52:
if [ ! -e "$library.stamp" -o "$library" -nt "$library.stamp" ]; then
^-- [SC2166](https://github.com/koalaman/shellcheck/wiki/SC2166) (warning): Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
* qgroundcontrol.pro: use gold linker if available (on linux)
Speeds up linking by ~4s on my machine.
* linux-fixup-rpaths.bash: use timestamp file to avoid unnecessary re-evaluation
Speeds up incremental builds, this step takes ~17s.
```
Post Link Common
/bin/sh: 1: /home/runner/work/qgroundcontrol/qgroundcontrol/deploy/linux-fixup-rpaths.bash: not found
make: *** [staging/QGroundControl] Error 127
Makefile:2944: recipe for target 'staging/QGroundControl' failed
Error: Process completed with exit code 2.
```
- script is clean according to shellcheck.net
- added the script to the QGCPostLinkCommon
- added patchelf to the Dockerfile and the github workflows for Linux