Skip to content

pkg_config always adds system-wide path to rustc-link-search #49

Closed
@rinon

Description

@rinon

Could we get .print_system_libs(false) added to the pkg_config Config? libz-sys is far down the dependency chain from my package and adds /usr/lib to the search path. This means that the linker grabs another library we want to link against from /usr/lib instead of our non-system search path that we add using rustc-link-search.

This is the same basic issue as sfackler/rust-openssl#447 and rust-lang/pkg-config-rs#11

Thanks!

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