Skip to content

Commit 973bd86

Browse files
committed
dll on windows
1 parent 8593a07 commit 973bd86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/gd/internal/builder/windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func (Windows) Test(args ...string) error {
9494
if runtime.GOOS != "windows" || runtime.GOARCH != GOARCH {
9595
return fmt.Errorf("gd test: cannot run windows/%v tests on %v/%v", GOARCH, runtime.GOOS, runtime.GOARCH)
9696
}
97-
if err := tooling.Go.Action("test", args, "-c", "-buildmode=c-shared", "-o", filepath.Join(project.GraphicsDirectory, fmt.Sprintf("windows_%v.so", GOARCH))); err != nil {
97+
if err := tooling.Go.Action("test", args, "-c", "-buildmode=c-shared", "-o", filepath.Join(project.GraphicsDirectory, fmt.Sprintf("windows_%v.dll", GOARCH))); err != nil {
9898
return xray.New(err)
9999
}
100100
if err := os.Chdir(project.GraphicsDirectory); err != nil {

0 commit comments

Comments
 (0)