We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2187e3f commit 5d469bdCopy full SHA for 5d469bd
Makefile
@@ -56,12 +56,13 @@ DOTNET = dotnet
56
RUNTIME ?= net6
57
CONFIGURATION ?= Release
58
DOTNET_RID = $(shell ${DOTNET} --info | grep RID: | cut -w -f3)
59
+ARCH_X64 = $(shell echo ${DOTNET_RID} | grep x64)
60
61
ifndef TARGETPLATFORM
62
UNAME_S := $(shell uname -s)
63
UNAME_M := $(shell uname -m)
64
ifeq ($(UNAME_S),Darwin)
-ifeq ($(RUNTIME)-$(DOTNET_RID),net6-osx-arm64)
65
+ifeq ($(ARCH_X64),)
66
TARGETPLATFORM = osx-arm64
67
else
68
TARGETPLATFORM = osx-x64
0 commit comments