This isn't going to work.

This commit is contained in:
Pietro Gagliardi 2016-05-30 02:06:25 -04:00
parent 52f7d276a6
commit 80e7d83b77
4 changed files with 12 additions and 10 deletions

Binary file not shown.

BIN
libui_windows_amd64.res.o Normal file

Binary file not shown.

View File

@ -1,10 +0,0 @@
// 13 december 2015
package ui
// #cgo LDFLAGS: -L${SRCDIR} -lui
import "C"
func ensureMainThread() {
// do nothing; Windows doesn't care which thread we're on so long as we don't change it after starting
}

12
link_windows_amd64.go Normal file
View File

@ -0,0 +1,12 @@
// 13 december 2015
package ui
// #cgo LDFLAGS: ${SRCDIR}/libui_windows_amd64.lib ${SRCDIR}/libui_windows_amd64.res.o
// /* note the order; also note the lack of uuid */
// #cgo LDFLAGS: -luser32 -lkernel32 -lusp10 -lgdi32 -lcomctl32 -luxtheme -lmsimg32 -lcomdlg32 -ld2d1 -ldwrite -lole32 -loleaut32 -loleacc -lmsvcrt
import "C"
func ensureMainThread() {
// do nothing; Windows doesn't care which thread we're on so long as we don't change it after starting
}