Fix linker issues on different Windows architectures.

pull/10/head
Icedream 2017-04-21 00:39:33 +02:00
parent 4011bce29b
commit 26bd990227
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
4 changed files with 8 additions and 2 deletions

1
.gitignore vendored
View File

@ -2,6 +2,7 @@
*.o *.o
*.a *.a
*.so *.so
*.syso
# Folders # Folders
_obj _obj

Binary file not shown.

View File

@ -1,5 +1,5 @@
//+build windows // +build windows,386
package main 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
rsrc_windows_amd64.go Normal file
View File

@ -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