building and packaging shared libraries - Haskell

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

James King

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.