Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

Adjust per-platform link libraries #12

Merged
merged 2 commits into from
Jan 3, 2022
Merged

Adjust per-platform link libraries #12

merged 2 commits into from
Jan 3, 2022

Commits on Jan 2, 2022

  1. 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.
    morrisonlevi committed Jan 2, 2022
    Configuration menu
    Copy the full SHA
    f8c6852 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2022

  1. 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.
    morrisonlevi committed Jan 3, 2022
    Configuration menu
    Copy the full SHA
    af8f5bf View commit details
    Browse the repository at this point in the history