Fix make and make doc on Mac OS X 10.11 El Capitan
authorFelix Bünemann <buenemann@louis.info>
Thu, 13 Aug 2015 17:28:50 +0000 (19:28 +0200)
committerFelix Bünemann <buenemann@louis.info>
Thu, 13 Aug 2015 17:32:24 +0000 (19:32 +0200)
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.

Makefile.in

index b5b2163e0e43953a3ac869f2628f1485375eae33..981f289749d1033ae6eac441ac257b4c859efe4d 100644 (file)
@@ -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)