From 84fc45fac09e5258fe6fdfb2f252598f6e4db5fb Mon Sep 17 00:00:00 2001 From: Caijinglong Date: Thu, 16 Apr 2020 10:39:51 +0800 Subject: [PATCH] Update Makefile Add cross-platform support for macos in Makefile. --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 777329fbe6d..23ab3ed4081 100644 --- a/Makefile +++ b/Makefile @@ -77,6 +77,9 @@ release-nodocker: CGO_ENABLED=0 GOOS=linux GOARCH=arm64 $(GOBUILD) -o /tmp/rtsp-simple-server tar -C /tmp -czf $(PWD)/release/rtsp-simple-server_$(VERSION)_linux_arm64.tar.gz --owner=0 --group=0 rtsp-simple-server + CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 $(GOBUILD) -o /tmp/rtsp-simple-server + tar -C /tmp -czf $(PWD)/release/rtsp-simple-server_$(VERSION)_darwin_amd64.tar.gz --owner=0 --group=0 rtsp-simple-server + travis-setup: echo "FROM ruby:alpine \n\ RUN apk add --no-cache build-base git \n\