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 508c63c commit 8f1946aCopy full SHA for 8f1946a
Makefile
@@ -757,6 +757,11 @@ security-check:
757
go run $(GOVULNCHECK_PACKAGE) -show color ./...
758
759
$(EXECUTABLE): $(GO_SOURCES) $(TAGS_PREREQ)
760
+ifneq ($(STATIC),)
761
+ifneq (,$(findstring pam,$(TAGS)))
762
+ $(error pam support set via TAGS dont support static builds)
763
+endif
764
765
CGO_ENABLED="$(CGO_ENABLED)" CGO_CFLAGS="$(CGO_CFLAGS)" $(GO) build $(GOFLAGS) $(EXTRA_GOFLAGS) -tags '$(TAGS)' -ldflags '-s -w $(EXTLDFLAGS) $(LDFLAGS)' -o $@
766
767
.PHONY: release
0 commit comments