Skip to content

Commit 504ec4b

Browse files
authored
Merge pull request #143 from seimonw/pass-ssh-agent-envvar
Export SSH_AUTH_SOCK to cargo build
2 parents 1947628 + 179ef53 commit 504ec4b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

classes/cargo.bbclass

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ cargo_do_compile() {
121121
export PKG_CONFIG_ALLOW_CROSS="1"
122122
export LDFLAGS=""
123123
export RUSTFLAGS="${RUSTFLAGS}"
124+
export SSH_AUTH_SOCK="${SSH_AUTH_SOCK}"
124125
bbnote "which rustc:" `which rustc`
125126
bbnote "rustc --version" `rustc --version`
126127
bbnote "which cargo:" `which cargo`

0 commit comments

Comments
 (0)