> There are [a couple of 
> options](https://github.com/probonopd/AppImageKit/issues/267) 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](https://github.com/geany/geany/blob/master/src/utils.c#L2092) indeed to 
support Windows and OSX, and as said we do have [binary relocation support 
already](https://github.com/geany/geany/blob/master/src/prefix.c).  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 or view it on GitHub:
https://github.com/geany/geany/issues/1303#issuecomment-260739481

Reply via email to