1
0
Fork 0
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:
Vincent Demeester 2017-03-30 15:03:32 +02:00 committed by GitHub
commit 8305617510
12 changed files with 17 additions and 10 deletions

View file

@ -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=""

View file

@ -1,4 +1,4 @@
// +build linux
// +build linux,cgo
package devicemapper

View file

@ -1,4 +1,4 @@
// +build linux
// +build linux,cgo
package devicemapper

View file

@ -1,4 +1,4 @@
// +build linux
// +build linux,cgo
package devicemapper

View file

@ -1,4 +1,4 @@
// +build linux,!libdm_no_deferred_remove
// +build linux,cgo,!libdm_no_deferred_remove
package devicemapper

View file

@ -1,4 +1,4 @@
// +build linux,libdm_no_deferred_remove
// +build linux,cgo,libdm_no_deferred_remove
package devicemapper

View file

@ -1,4 +1,4 @@
// +build linux
// +build linux,cgo
package devicemapper

View file

@ -1,4 +1,4 @@
// +build linux
// +build linux,cgo
package loopback

View file

@ -1,4 +1,4 @@
// +build linux
// +build linux,cgo
package loopback

View file

@ -1,4 +1,4 @@
// +build linux
// +build linux,cgo
package loopback

View file

@ -1,4 +1,4 @@
// +build linux
// +build linux,cgo
package loopback

View file

@ -1,3 +1,5 @@
// +build !windows
package plugins
// BasePath returns the path to which all paths returned by the plugin are relative to.