diff options
| author | Pietro Gagliardi <[email protected]> | 2016-05-29 22:48:55 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2016-05-29 22:48:55 -0400 |
| commit | b9c3e87d5df7ec94e9bbdd8a29822d7fdca67d8c (patch) | |
| tree | 174e1f9ad3a8edd5427291162220c790c63806c6 /link_linux_amd64.go | |
| parent | a2db124cc95274461a9c6546e0bde29c42ad605b (diff) | |
More static library linker setup.
Diffstat (limited to 'link_linux_amd64.go')
| -rw-r--r-- | link_linux_amd64.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/link_linux_amd64.go b/link_linux_amd64.go new file mode 100644 index 0000000..8cb2029 --- /dev/null +++ b/link_linux_amd64.go @@ -0,0 +1,14 @@ +// +build !windows +// +build !darwin + +// 11 december 2015 + +package ui + +// #cgo LDFLAGS: ${SRCDIR}/libui_linux_amd64.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 +} |
