Skip to content

Commit 82328d1

Browse files
committed
Revert "scripts/build/binary: remove pkcs11 build tag"
This reverts commit d51956b. Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent b46a8d5 commit 82328d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/build/binary

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ set -eu
77

88
. ./scripts/build/.variables
99

10+
if [ "$CGO_ENABLED" = "1" ] && [ "$(go env GOOS)" != "windows" ]; then
11+
GO_BUILDTAGS="$GO_BUILDTAGS pkcs11"
12+
fi
13+
1014
echo "Building $GO_LINKMODE $(basename "${TARGET}")"
1115

1216
export GO111MODULE=auto

0 commit comments

Comments
 (0)