Merge pull request #32213 from aaronlehmann/plugin-build-mac

plugins: Rename plugins_linux.go to plugins_unix.go and use build tags
Upstream-commit: 8305617510b5c1c1b622ee4e0616be6fda5e3f7e
Component: engine
This commit is contained in:
Vincent Demeester
2017-03-30 15:03:32 +02:00
committed by GitHub
12 changed files with 17 additions and 10 deletions
+5
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=""
@@ -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 -1
View File
@@ -1,4 +1,4 @@
// +build linux
// +build linux,cgo
package devicemapper
@@ -1,4 +1,4 @@
// +build linux
// +build linux,cgo
package loopback
+1 -1
View File
@@ -1,4 +1,4 @@
// +build linux
// +build linux,cgo
package loopback
@@ -1,4 +1,4 @@
// +build linux
// +build linux,cgo
package loopback
+1 -1
View File
@@ -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.