diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-09-08 14:54:33 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-09-08 14:54:34 -0700 |
| commit | 8d5e4290a73069466f34743993f23cad1fe90fc2 (patch) | |
| tree | 51c4ec67fc9a98bc669f40e2bfa7c65cdf77c932 /Makefile | |
| parent | 2462961280690837670d997bde64bd4ebf8ae66d (diff) | |
| parent | 0eeacde50e71cc320016f0bcf9f8b17d5168cbfd (diff) | |
| download | git-8d5e4290a73069466f34743993f23cad1fe90fc2.tar.xz | |
Merge branch 'da/cargo-serialize'
Makefile tried to run multiple "cargo build" which would not work
very well; serialize their execution to work it around.
* da/cargo-serialize:
Makefile: build libgit-rs and libgit-sys serially
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -3945,13 +3945,12 @@ unit-tests: $(UNIT_TEST_PROGS) $(CLAR_TEST_PROG) t/helper/test-tool$X $(MAKE) -C t/ unit-tests .PHONY: libgit-sys libgit-rs -libgit-sys libgit-rs: - $(QUIET)(\ - cd contrib/$@ && \ - cargo build \ - ) +libgit-sys: + $(QUIET)cargo build --manifest-path contrib/libgit-sys/Cargo.toml +libgit-rs: libgit-sys + $(QUIET)cargo build --manifest-path contrib/libgit-rs/Cargo.toml ifdef INCLUDE_LIBGIT_RS -all:: libgit-sys libgit-rs +all:: libgit-rs endif LIBGIT_PUB_OBJS += contrib/libgit-sys/public_symbol_export.o |
