summaryrefslogtreecommitdiff
path: root/link_windows_amd64.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2016-06-05 18:49:53 -0400
committerPietro Gagliardi <[email protected]>2016-06-05 18:49:53 -0400
commit99b377d53825a178db73d7299c5721bd1ff65d36 (patch)
treea85a0fec5c0452865da1961c2d5158103c6e291d /link_windows_amd64.go
parentbcef74047371ffe8721060ef19933a0aaa238fb0 (diff)
Set up the Windows builds. Almost working!
Diffstat (limited to 'link_windows_amd64.go')
-rw-r--r--link_windows_amd64.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/link_windows_amd64.go b/link_windows_amd64.go
index 7a9c08d..1992ae7 100644
--- a/link_windows_amd64.go
+++ b/link_windows_amd64.go
@@ -2,9 +2,9 @@
package ui
-// #cgo LDFLAGS: ${SRCDIR}/libui_windows_amd64.lib ${SRCDIR}/libui_windows_amd64.res.o
+// #cgo LDFLAGS: ${SRCDIR}/static_windows_amd64.o ${SRCDIR}/libui_windows_amd64.a ${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
+// #cgo LDFLAGS: -luser32 -lkernel32 -lusp10 -lgdi32 -lcomctl32 -luxtheme -lmsimg32 -lcomdlg32 -ld2d1 -ldwrite -lole32 -loleaut32 -loleacc -static -static-libgcc -static-libstdc++
import "C"
func ensureMainThread() {