From ddc5a3176a18e39f73a4907e7ee3014c9de47d12 Mon Sep 17 00:00:00 2001 From: Todd G Date: Tue, 6 Oct 2020 16:19:31 -0600 Subject: [PATCH] make mac package work on 10.14 --- mac-package.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mac-package.sh b/mac-package.sh index 13b72df..0ad4150 100755 --- a/mac-package.sh +++ b/mac-package.sh @@ -2,6 +2,9 @@ # builds a macos package (.app) and places it inside a compressed .dmg +export CGO_CFLAGS="-mmacosx-version-min=10.14" +export CGO_LDFLAGS="-mmacosx-version-min=10.14" + mkdir -p "package/Cryptonym" mkdir -p package/old mv package/*.dmg package/old/