build-style/go: fix build using GOPATH

This commit is contained in:
Andrea Brancaleoni 2024-05-22 17:55:28 +02:00 committed by Andrea Brancaleoni
parent 480e408eff
commit fefd26e5b8
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ do_build() {
fi
else
# Otherwise, build using GOPATH
go get -p "$XBPS_MAKEJOBS" -v -tags "${go_build_tags}" -ldflags "${go_ldflags}" ${go_package}
go install -p "$XBPS_MAKEJOBS" -v -tags "${go_build_tags}" -ldflags "${go_ldflags}" ${go_package}
fi
}