Replies: 1 comment
-
Alright, I managed to make it work - but I still think that allowing the use of external libraries should be supported upstream |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Vendoring built libraries is already a bad idea, but doing that without allowing the use of external ones just makes Odin near unusable for me. Note that I'm on NixOS, which is most of these are an issue in the first place, but that should still be a supported use case I feel like.
Here is how it went:
foreign import "system:raylib"
) (which I should be able to do without patching) -> the compiler fails with a not found error even though it's clearly inLD_LIBRARY_PATH
.error while loading shared libraries: libraylib.so.550: cannot open shared object file: No such file or directory
)The best solution would be upstreaming a way to use external libraries in all vendored packages, but at least I want to make system imports work.
Beta Was this translation helpful? Give feedback.
All reactions