mirror of
https://github.com/git/git.git
synced 2026-10-01 18:58:28 +02:00
When cross-compiling, Cargo always writes to a target-tuple subdirectory determined by CARGO_BUILD_TARGET, even when it matches the native tuple. The build looked in $BUILD_DIR/$BUILD_TYPE directly, so it failed to locate the freshly built library. Respect CARGO_BUILD_TARGET in the output path so the correct artifact is located. Signed-off-by: James Le Cuirot <chewi@gentoo.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>