Since the Odin compiler expects all the included libraries to be in the same path, I've been symlinking it and using ODIN_ROOT as a fix. Decided to try and find how to resolve symlinks myself today, turns out odin resolves them for you when you use functions such as lstat, stat and abs. So I'm making paths absolute to resolve them.
Since the Odin compiler expects all the included libraries to be in the same path, I've been symlinking it and using ODIN_ROOT as a fix. Decided to try and find how to resolve symlinks myself today, turns out odin resolves them for you when you use functions such as
lstat
,stat
andabs
. So I'm making paths absolute to resolve them.This might potentially fix https://github.com/DanielGavin/ols/issues/325
I've tried it on my end and it's working for my use case at least. Decided to upstream it here.