git2-rs icon indicating copy to clipboard operation
git2-rs copied to clipboard

attempt to use pkg-config to get include path for dependencies if not provided in env

Open MagicalTux opened this issue 5 years ago • 1 comments

This is similar to https://github.com/alexcrichton/ssh2-rs/pull/170 and solves issue in https://github.com/rust-lang/rust/issues/69552

If dependencies include paths are not provided in environment (DEP_SSH2_INCLUDE, DEP_OPENSSL_INCLUDE and DEP_Z_INCLUDE) then the script attempts to use pkg_config to find system-provided versions in order to build libgit2.

MagicalTux avatar Mar 05 '20 00:03 MagicalTux

I don't think this PR should be merged as is; please see https://github.com/alexcrichton/ssh2-rs/issues/174 wherein we're dealing with the fallout from https://github.com/alexcrichton/ssh2-rs/pull/170

wez avatar Apr 26 '20 14:04 wez