From e60682ae3241dd6c18798a411051f7209d60a9ba Mon Sep 17 00:00:00 2001 From: Jiajie Chen Date: Tue, 26 Mar 2019 11:22:30 +0800 Subject: [PATCH] Do not build nginx on Darwin --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b44cf4d..c94e60d 100644 --- a/Makefile +++ b/Makefile @@ -76,8 +76,10 @@ endif busybox: $(busybox) nginx: - @cd nginx && make arch=$(arch) +ifneq ($(shell uname), Darwin) + @cd nginx && make arch=$(arch) all @cp nginx/build/$(arch)/nginx $(out_dir)/nginx +endif build: rust ucore biscuit $(busybox) nginx