This repository has been archived by the owner on Jun 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust per-platform link libraries (#12)
* Adjust per-platform link libraries While investigating a sigsegv due to strange linking, I realized that the link libraries that Rust suggests are per platform. This commit adjusts the pkg-config and cmake helpers in a per-platform way. Note that this is brittle. Any change in these flags should be investigated by a human. * Remove -lgcc_s for Linux platforms This is because if it is present, even if -static-libgcc is provided, then it will be present in the final library runtime dependencies. This is undesirable at least on Alpine Linux, where it may not even be present due to the platform's minimalism.
- Loading branch information
1 parent
e9b9b9c
commit daab60b
Showing
3 changed files
with
61 additions
and
9 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