Skip to content

Static Link Support #2

Description

@elbaro

The distro-based libvips contains a dynamic version.
To statically link, vips-sys needs to download the code & dependencies and compile on its own.

Dynamic vs Static Flag

Method1: Cargo.toml feature flag (clean, but cannot turn off)
Method2: env (easy to override)

Reference

https://kornel.ski/rust-sys-crate

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions