This is as discussed with @shykes on IRC Upstream-commit: d7897508516c05e7ffea5b96053ec80c7771d777 Component: engine
7 lines
241 B
Bash
7 lines
241 B
Bash
#!/bin/sh
|
|
|
|
DEST=$1
|
|
|
|
go build -o $DEST/docker-$VERSION -ldflags "$LDFLAGS -linkmode external -extldflags \"-lpthread -static -Wl,--unresolved-symbols=ignore-in-object-files\"" $BUILDFLAGS ./docker
|
|
echo "Created binary: $DEST/docker-$VERSION"
|