There are a couple of options for that.

Nice :)

But wouldn't it be the cleanest solution to solve it right in the source code from the beginning, by not using absolute paths? (How is it done for macOS)?

Well. We do use dynamic paths indeed to support Windows and OSX, and as said we do have binary relocation support already. But one tricky part is finding out what the installation path is, and that code is copied from somewhere ages ago, and I have no idea how portable it is -- not really something I'm terribly happy with.
Also, it doesn't solve looking for libraries, where we currently use -rpath='$ORIGIN/../lib'.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.