I've resisted relying on pkg-config in the hope that hard-coded include and library paths would suffice. However, apart from having to work around some distro-specific differences, building with hardcoded include paths fails when building on a buildroot: x86_64-buildroot-linux-gnu-gcc: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/wayland' (see #91) Andri mentions a workaround (prefixing paths with "="), but that doesn't seem to work on the BSDs. Let's see how pkg-config fares. It's an extra dependency, but it promises to keep us isolated from the varying paths on Linux distrobutions. Updates #91 Signed-off-by: Elias Naur <mail@eliasnaur.com>
Gio
Immediate mode GUI programs in Go for Android, iOS, macOS, Linux, FreeBSD, OpenBSD, Windows, and WebAssembly (experimental). See the project page gioui.org for documentation and more information.
Issues
File bugs and TODOs through the issue tracker or send an email to ~eliasnaur/gio@todo.sr.ht. For general discussion, use the mailing list: ~eliasnaur/gio@lists.sr.ht.
Contributing
Post discussion to the mailing list and patches to gio-patches. No Sourcehut account is required and you can post without being subscribed.
See the contribution guide for more details.
An unofficial GitHub mirror is kindly maintained by Larry Clapp.
License
This project is dual-licensed under the UNLICENSE (see the UNLICENSE file) or the MIT license (see the LICENSE-MIT file).
You may use the project under the terms of either license.