Skip to content

Commit 07dba32

Browse files
author
Guillaume Desmottes
committed
docker: define PKG_CONFIG_ALLOW_CROSS
The PKG_CONFIG_ALLOW_CROSS env variable is required to cross compile various crates such as openssl. Fix #383
1 parent dfa1646 commit 07dba32

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)