Skip to content

Commit

Permalink
Fix linker issues on different Windows architectures.
Browse files Browse the repository at this point in the history
  • Loading branch information
icedream committed Apr 20, 2017
1 parent 4011bce commit 26bd990
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
*.o
*.a
*.so
*.syso

# Folders
_obj
Expand Down
Binary file removed rsrc_windows.syso
Binary file not shown.
4 changes: 2 additions & 2 deletions rsrc_windows.go → rsrc_windows_386.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//+build windows
// +build windows,386

package main

//go:generate goversioninfo -manifest "rsrc/app.manifest" -icon "rsrc/app.ico" -o "rsrc_windows.syso"
//go:generate goversioninfo -manifest "rsrc/app.manifest" -icon "rsrc/app.ico" -o "rsrc_windows.syso" -arch 386
5 changes: 5 additions & 0 deletions rsrc_windows_amd64.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// +build windows,amd64

package main

//go:generate goversioninfo -manifest "rsrc/app.manifest" -icon "rsrc/app.ico" -o "rsrc_windows.syso" -arch amd64

0 comments on commit 26bd990

Please sign in to comment.