diff --git a/Makefile b/Makefile index 9339b5b7138..be86f075730 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ ifeq ($(HAS_GO), yes) endif CGO_ENABLED ?= 0 -ifneq (,$(findstring sqlite,$(TAGS))) +ifneq (,$(findstring sqlite,$(TAGS))$(findstring pam,$(TAGS))) CGO_ENABLED = 1 endif