We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c7a179 commit 462c8b2Copy full SHA for 462c8b2
build.pl
@@ -63,7 +63,7 @@ sub build {
63
&gen_bindata();
64
65
# build it
66
- my $cmd = qq{go build -ldflags "-X main.VERSION=$version" -o zfs-snap-diff};
+ my $cmd = qq{CGO_ENABLED=0 go build -ldflags "-X main.VERSION=$version" -o zfs-snap-diff};
67
say "build 'zfs-snap-diff' ($cmd)";
68
system($cmd) == 0 or die "build error";
69
}
0 commit comments