From b9c3e87d5df7ec94e9bbdd8a29822d7fdca67d8c Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 29 May 2016 22:48:55 -0400 Subject: More static library linker setup. --- link_linux_386.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 link_linux_386.go (limited to 'link_linux_386.go') diff --git a/link_linux_386.go b/link_linux_386.go new file mode 100644 index 0000000..0a8c1d8 --- /dev/null +++ b/link_linux_386.go @@ -0,0 +1,14 @@ +// +build !windows +// +build !darwin + +// 11 december 2015 + +package ui + +// #cgo LDFLAGS: ${SRCDIR}/libui_linux_386.a -Wl,-rpath=$ORIGIN +// #cgo pkg-config: gtk+-3.0 +import "C" + +func ensureMainThread() { + // do nothing; GTK+ doesn't care which thread we're on so long as we don't change it after starting +} -- cgit v1.2.3