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

Vendoring the include files #111

Open
agentabstract opened this issue Jul 26, 2024 · 2 comments
Open

Vendoring the include files #111

agentabstract opened this issue Jul 26, 2024 · 2 comments

Comments

@agentabstract
Copy link

agentabstract commented Jul 26, 2024

I see there was a lot of people asking about vendoring of the include files. I was able to fix this in my abandoned fork by adding a go file to each included directory and sub directory.

// +build required

// Package dummy prevents go tooling from stripping the c dependencies.
package dummy

The package name is meaningless, you just need the build required part at the top, and a package name.

@gen2brain
Copy link
Owner

Thanks, I don't care about the vendor but if that can stop new related issues I am interested. PR is welcome, I don't have the time for that.

@agentabstract
Copy link
Author

Heard. I'll do that when I get a moment myself.

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