mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #32213 from aaronlehmann/plugin-build-mac
plugins: Rename plugins_linux.go to plugins_unix.go and use build tags
This commit is contained in:
commit
8305617510
12 changed files with 17 additions and 10 deletions
|
@ -31,6 +31,11 @@ for platform in $DOCKER_CROSSPLATFORMS; do
|
|||
|
||||
if [ "$GOOS" != "solaris" ]; then
|
||||
# TODO. Solaris cannot be cross build because of CGO calls.
|
||||
|
||||
# go install docker/docker/pkg packages to ensure that
|
||||
# they build cross platform.
|
||||
go install github.com/docker/docker/pkg/...
|
||||
|
||||
if [ -z "${daemonSupporting[$platform]}" ]; then
|
||||
# we just need a simple client for these platforms
|
||||
export LDFLAGS_STATIC_DOCKER=""
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux
|
||||
// +build linux,cgo
|
||||
|
||||
package devicemapper
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux
|
||||
// +build linux,cgo
|
||||
|
||||
package devicemapper
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux
|
||||
// +build linux,cgo
|
||||
|
||||
package devicemapper
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux,!libdm_no_deferred_remove
|
||||
// +build linux,cgo,!libdm_no_deferred_remove
|
||||
|
||||
package devicemapper
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux,libdm_no_deferred_remove
|
||||
// +build linux,cgo,libdm_no_deferred_remove
|
||||
|
||||
package devicemapper
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux
|
||||
// +build linux,cgo
|
||||
|
||||
package devicemapper
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux
|
||||
// +build linux,cgo
|
||||
|
||||
package loopback
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux
|
||||
// +build linux,cgo
|
||||
|
||||
package loopback
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux
|
||||
// +build linux,cgo
|
||||
|
||||
package loopback
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build linux
|
||||
// +build linux,cgo
|
||||
|
||||
package loopback
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// +build !windows
|
||||
|
||||
package plugins
|
||||
|
||||
// BasePath returns the path to which all paths returned by the plugin are relative to.
|
Loading…
Reference in a new issue