Open
Description
At present, Config::find
returns system library paths. This can make it difficult to override library versions.
The motiviating example is using rust-openssl with ssh2-rs on OS X. On Mac, openssl requires a non-system version of openssl for TLS support, which can successfuly be provided by homebrew, for example. ssh2-rs depends on libz-rs, which pkg-config finds as -L /usr/lib
. This library path gets added before the openssl library path, resulting in the system (older) openssl libraries being used, and the linker failing.
Metadata
Metadata
Assignees
Labels
No labels