And moved the other link files back. It works!

This commit is contained in:
Pietro Gagliardi 2018-09-02 03:22:45 -04:00
parent 8bd8d84293
commit 5b9b35a317
4 changed files with 14 additions and 16 deletions

View File

@ -1,8 +0,0 @@
// 13 december 2015
package ui
// #cgo LDFLAGS: ${SRCDIR}/libui_windows_386.a
// /* note the order; also note the lack of uuid */
// #cgo LDFLAGS: -luser32 -lkernel32 -lusp10 -lgdi32 -lcomctl32 -luxtheme -lmsimg32 -lcomdlg32 -ld2d1 -ldwrite -lole32 -loleaut32 -loleacc -static -static-libgcc -static-libstdc++
import "C"

View File

@ -1,8 +0,0 @@
// 13 december 2015
package ui
// #cgo LDFLAGS: ${SRCDIR}/libui_windows_amd64.a
// /* note the order; also note the lack of uuid */
// #cgo LDFLAGS: -luser32 -lkernel32 -lusp10 -lgdi32 -lcomctl32 -luxtheme -lmsimg32 -lcomdlg32 -ld2d1 -ldwrite -lole32 -loleaut32 -loleacc -static -static-libgcc -static-libstdc++
import "C"

7
link_windows_386.go Normal file
View File

@ -0,0 +1,7 @@
// 13 december 2015
package ui
// #cgo LDFLAGS: ${SRCDIR}/libui_windows_386.a
// #cgo LDFLAGS: -luser32 -lkernel32 -lgdi32 -lcomctl32 -luxtheme -lmsimg32 -lcomdlg32 -ld2d1 -ldwrite -lole32 -loleaut32 -loleacc -luuid -lwindowscodecs -static -static-libgcc -static-libstdc++
import "C"

7
link_windows_amd64.go Normal file
View File

@ -0,0 +1,7 @@
// 13 december 2015
package ui
// #cgo LDFLAGS: ${SRCDIR}/libui_windows_amd64.a
// #cgo LDFLAGS: -luser32 -lkernel32 -lgdi32 -lcomctl32 -luxtheme -lmsimg32 -lcomdlg32 -ld2d1 -ldwrite -lole32 -loleaut32 -loleacc -luuid -lwindowscodecs -static -static-libgcc -static-libstdc++
import "C"