Skip to content

Commit

Permalink
Merge #386
Browse files Browse the repository at this point in the history
386: docker: define PKG_CONFIG_ALLOW_CROSS r=reitermarkus a=gdesmott

The PKG_CONFIG_ALLOW_CROSS env variable is required to cross compile
various crates such as openssl.

Fix #383

Co-authored-by: Guillaume Desmottes <[email protected]>
  • Loading branch information
bors[bot] and Guillaume Desmottes committed Mar 6, 2020
2 parents dfa1646 + 07dba32 commit 2aa8990
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/docker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ pub fn run(target: &Target,
}
}

docker.args(&["-e", "PKG_CONFIG_ALLOW_CROSS=1"]);

docker.arg("--rm");

// We need to specify the user for Docker, but not for Podman.
Expand Down

0 comments on commit 2aa8990

Please sign in to comment.