Skip to content

Conversation

@marevers
Copy link
Owner

@marevers marevers commented Jul 8, 2025

Fixes #31

There were some problems with the builds requiring CGO. CGO_ENABLED was not getting set to 1 correctly, which caused the versions that require it (Linux and MacOS) to be built without it and error when using --clip. Upon fixing that, it was necessary to start using cross-compilers for Linux, which is what this PR adds.

Currently, MacOS cannot be cross compiled yet so it must be compiled locally. The clipboard project is working on removing the CGO requirement, which once merged can again simplify this process (golang-design/clipboard#83).

@marevers marevers merged commit 6ab7bf7 into master Jul 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--clip option not working on systems that should support it

2 participants