Skip to content

Conversation

@arossato
Copy link
Contributor

@arossato arossato commented Nov 4, 2025

I proposed to add this feature to mhs but @augustss suggested to add it to microcabal.

Here's my proposal.

Now linker flags may be set also for executables with the "extra-libraries" field set.

I was thinking about implementing also "pkgconfig-depends" but that would be more invasive, since, like "build-depends" it may also set version ranges and limits. Moreover I do not know, given the minimalistic nature of mcabal, if this is appropriate. There seems to be discussions about "pkgconfig-depends" and its relations with "extra-libraries" and different preferences. What do you think?

Even executables may need to define the "extra-libraries" field
Otherwise pVComma will fail when library versions are specified
…k the linking flags

running with -r will not call the linker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant