mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-09-01 23:18:41 +00:00
Partially fix Windows build with go-compile
Fix go-compile to not use buildmode pie for Windows. See #1863 Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -88,7 +88,7 @@ test -z $(find . -type f -name "*.go" -not -path "*/vendor/*" -not -name "*.pb.*
|
||||
|
||||
>&2 echo "go build..."
|
||||
|
||||
if [ "$GOOS" = "darwin" ]
|
||||
if [ "$GOOS" = "darwin" -o "$GOOS" = "windows" ]
|
||||
then
|
||||
if [ -z "$ldflags" ]
|
||||
then
|
||||
|
Reference in New Issue
Block a user