Skip to content

Linkage of static library from /usr/lib64 ignored with -L flag warning #54

Open
@drahnr

Description

@drahnr

Using fedora 27, openssl-static provides /usr/lib64/libssl.so and /usr/lib64/libcrypto.so.

The below commit prevents this from linking properly.

9a57960

Expectation: If I set OPENSSL_STATIC I'd either expect the whole thing to fail, print a very descriptive warning with a hint on how to fix this.
What happens actually: a) Missing -L flag warning, b) links dynamically (which I explicitly want to prevent (need to share this from Ubuntu 16.04 over Arch to Fedora Rawhide)

I also opend a topic: https://users.rust-lang.org/t/how-to-link-openssl-statically/14912/2
Also filed: sfackler/rust-openssl#825 (comment)
Possibly related: #37

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions