New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Foreign library dependencies #10
Comments
You can define a build hook that sorts |
All right, thanks, I'll try that. |
Sorry for noobish question, I'm still new to CL ecosystem. While trying the workaround you've suggested, I'm getting either |
|
Thanks a lot! |
Hey.
Thanks for the wonderful library, I absolutely enjoy using it :)
However, I have a small problem with my particular setup.
I'm writing a library that uses bodge-nuklear, a wrapper around C library called nuklear. The problem is that for some reason it depends on two
.so
libraries,libnuklear.so.bodged
andlibglad.so.bodged
(no idea why.bodged
prefix, but that's not important), and the former depends on latter:Now,
deploy
perfectly detects both libraries and copies them inbin/
directory, but when I launch the resulting executable, it crashes because it can't find thelibglad.so.bodged
library (because obviouslyLD_LIBRARY_PATH
on unices does not include current directory unlike on windows):Of course I can workaround that by writing simple shell script that sets up
LD_LIBRARY_PATH
properly, but can it be done purely by lisp code means? I'm thinking maybe some sort of:depends
keyword indeploy:define-library
or something.The text was updated successfully, but these errors were encountered: