From: Felix Bùˆnemann Date: Thu, 13 Aug 2015 17:28:50 +0000 (+0200) Subject: Fix make and make doc on Mac OS X 10.11 El Capitan X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~17^2~117^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=996c509ba9658013b56c4877e96e296ca1955d83;p=cargo.git Fix make and make doc on Mac OS X 10.11 El Capitan The upcoming Mac OS X 10.11 introduces a security measure thar prohibits exporting DYLD_LIBRARY_PATH to subshells. This fix removes the quotes around several program invocation so that they are not called from a subshell. --- diff --git a/Makefile.in b/Makefile.in index b5b2163e0..981f28974 100644 --- a/Makefile.in +++ b/Makefile.in @@ -82,8 +82,8 @@ all: $(foreach target,$(CFG_TARGET),cargo-$(target)) define CARGO_TARGET cargo-$(1): $$(CARGO) - "$$(CFG_RUSTC)" -V - "$$(CARGO)" --version + $$(CFG_RUSTC) -V + $$(CARGO) --version $$(CARGO) build --target $(1) $$(OPT_FLAG) $$(VERBOSE_FLAG) $$(ARGS) test-unit-$(1): $$(CARGO) @@ -141,7 +141,7 @@ target/doc/cargo/index.html: $(DOC_DIR)/%.html: src/doc/%.md src/doc/header.html src/doc/footer.html @mkdir -p $(@D) - "$(CFG_RUSTDOC)" $< -o $(@D) $(DOC_OPTS) + $(CFG_RUSTDOC) $< -o $(@D) $(DOC_OPTS) $(DOC_DIR)/%: src/doc/% @mkdir -p $(@D)