mirror of
https://github.com/docker/docker-credential-helpers.git
synced 2026-06-13 16:01:28 +05:30
osxkeychain: match min macos version for xx
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
@@ -9,6 +9,12 @@ BUILDX_CMD ?= docker buildx
|
||||
DESTDIR ?= ./bin/build
|
||||
COVERAGEDIR ?= ./bin/coverage
|
||||
|
||||
# 10.11 is the minimum supported version for osxkeychain
|
||||
export MACOSX_DEPLOYMENT_TARGET = 10.11
|
||||
ifeq "$(shell go env GOOS)" "darwin"
|
||||
export CGO_CFLAGS = -mmacosx-version-min=$(MACOSX_DEPLOYMENT_TARGET)
|
||||
endif
|
||||
|
||||
.PHONY: all
|
||||
all: cross
|
||||
|
||||
@@ -75,3 +81,6 @@ vendor:
|
||||
rm -rf ./vendor
|
||||
cp -R "$($@_TMP_OUT)"/* .
|
||||
rm -rf "$($@_TMP_OUT)"
|
||||
|
||||
.PHONY: print-%
|
||||
print-%: ; @echo $($*)
|
||||
|
||||
Reference in New Issue
Block a user