Is there a way to get stack to manage foreign libraries included with my project? I have a small library I've written in C that I'd like to build and link with my application. I'm currently building the shared object file myself and I can get stack to link my application binary against it... but then I also have to manage LD_LIBRARY_PATH, etc when running my application with stack exec etc.
Is there a way to get
stack
to manage foreign libraries included with my project? I have a small library I've written in C that I'd like to build and link with my application. I'm currently building the shared object file myself and I can get stack to link my application binary against it... but then I also have to manage LD_LIBRARY_PATH, etc when running my application withstack exec
etc.