Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-compiling for Darwin or FreeBSD fails because of build constraints #36

Closed
botherder opened this issue Aug 31, 2018 · 2 comments
Closed

Comments

@botherder
Copy link

botherder commented Aug 31, 2018

While cross-compiling from a Debian dev machine to other platforms, building for Darwin and FreeBSD raises this issue instead:

go build github.com/hillu/go-yara/internal/callbackdata: build constraints exclude all Go files in $GOPATH/pkg/mod/github.com/hillu/[email protected]/internal/callbackdata

I've not been able to triage the issue entirely, although it sounds like it could be related to this? golang/go#24068

@botherder
Copy link
Author

Nevermind, my mistake.

@hillu
Copy link
Owner

hillu commented Aug 31, 2018

What kind of C cross-compiler setup are you using for FreeBSD and Darwin targets?

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

No branches or pull requests

2 participants