-
Notifications
You must be signed in to change notification settings - Fork 685
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add field to to remember libs needed for fully static linking
* WIP: Still need to update ghc to use the new `libraryDirsStatic` and `extraLibrariesStatic` fields in `InstalledPackageInfo` for linking. * WIP: Adding -L paths to .a libs in .conf files will likely increase nix closure size for dynamically linked Haskell packages because if pkg-config finds an `-a` file, the path to it will be remembered. (That only has an impact if the .a file is in a split-output from the .so file.) Perhaps we make the feature that `pkg-config --static` is called opt-outable. On the other hand Haskell libs always carry their .a files, so pulling a few system `.a` files more shouldn't make much of a difference. So this opt-out should probably be an extra feature for later, if at all.
- Loading branch information
Showing
58 changed files
with
399 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.