synopsis: Include cmm-sources when linking shared objects
packages: Cabal
prs: #7252
issues: #7182

description: {

- Previously `cmm-sources` were not included in the final link when building a library as a shared object. Fix this.

}

