commercialhaskell / commercialhaskell/stack

Bundle library and dependencies in a single .so

Open
#2,158 4 comments 1 reaction 0 assignees View on GitHub
type: enhancement
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

I have a library which should be linked with a C project.
In order to simplify deployment, I'd like to have either one single shared object containing my haskell lib, the RTS and the dependencies, or statically link everything into the C project.
I don't think stack can generate that, but for a start is there a way after building to get the list of the paths of every static library my project depends on? I.e a list of everything that _would_ be linked into an executable depending on my library.
Something à la `stack list-dependencies`, but file-oriented.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.