.. since the old one wasn't my own code so I'm
not in a postition to decide the license. Also
the old version was inefficient and buggy.
I also renamed some of the MSYS2 specific hacky
functions as:
msys2_get_relocated_single_path()
and:
msys2_get_relocated_path_list()
.. because all the others are general purpose
and not hacks at all (if they were upstreamed
in any codebases I'd be fine with that.)
Because we often need to add relocation support to our MinGW-w64
packages, it makes sense to try to maintain this support nicely.
Qbs can be used to build this on Linux, MacOS, Windows and MSYS2.