From aa6df5377926cb0035113c1684b45379381eb137 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Sat, 2 Sep 2017 00:49:41 +0200 Subject: [PATCH] Only use the cgo workaround if using gpgme Otherwise we would try to link with gpgme only for that unnecessary workaround. --- cmd/skopeo/cgo_pthread_ordering_workaround.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/skopeo/cgo_pthread_ordering_workaround.go b/cmd/skopeo/cgo_pthread_ordering_workaround.go index 9d236223..b19ee1b5 100644 --- a/cmd/skopeo/cgo_pthread_ordering_workaround.go +++ b/cmd/skopeo/cgo_pthread_ordering_workaround.go @@ -1,3 +1,5 @@ +// +build !containers_image_openpgp + package main /*