Skip to content

Use of openssl-sys is problematic #30

@codyps

Description

@codyps
  1. curl-sys/build.rs (in some cases) uses pkg-config, which will already pull in the correct ssl library for that particular compilation of curl.
  2. curl-sys includes openssl-sys as an extern crate and proceeds to never use it
  3. For non-blessed targets, using target-specific dependencies to pull in openssl-sys breaks the build of curl-rust as it actually uses the openssl crate.

Some of these are probably due to a mismatch in cargo between the way linking actually works and how it currently pretends it works (ie: trys to avoid adding duplicate native libraries in the linker command line where this is actually the norm).

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