Skip to content

Commit 2aa8990

Browse files
bors[bot]Guillaume Desmottes
andauthored
Merge #386
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 <guillaume.desmottes@collabora.com>
2 parents dfa1646 + 07dba32 commit 2aa8990

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/docker.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ pub fn run(target: &Target,
101101
}
102102
}
103103

104+
docker.args(&["-e", "PKG_CONFIG_ALLOW_CROSS=1"]);
105+
104106
docker.arg("--rm");
105107

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

0 commit comments

Comments
 (0)