Skip to content

Enable static linking without specifying link dirs #825

Closed
@drahnr

Description

@drahnr

Use .statik(std::env::var("OPENSSL_STATIC").is_ok()) in fn try_pkg_config() which would remove the need to specify the _INCLUDE_DIR and _LIB_DIR for the case like fedora where the statically linked binaries are provided in the standard locations beside the dynamically linked.

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