MSVC generator hack should be only applied to MSVC
This commit is contained in:
parent
ccc0128cba
commit
74a453d8b0
|
|
@ -98,7 +98,7 @@ fn get_ios_sdk_name() -> &'static str {
|
||||||
/// so adjust library location based on platform and build target.
|
/// so adjust library location based on platform and build target.
|
||||||
/// See issue: https://github.com/alexcrichton/cmake-rs/issues/18
|
/// See issue: https://github.com/alexcrichton/cmake-rs/issues/18
|
||||||
fn get_boringssl_platform_output_path() -> String {
|
fn get_boringssl_platform_output_path() -> String {
|
||||||
if cfg!(windows) {
|
if cfg!(target_env = "msvc") {
|
||||||
// Code under this branch should match the logic in cmake-rs
|
// Code under this branch should match the logic in cmake-rs
|
||||||
let debug_env_var = std::env::var("DEBUG").expect("DEBUG variable not defined in env");
|
let debug_env_var = std::env::var("DEBUG").expect("DEBUG variable not defined in env");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue