go-fitz icon indicating copy to clipboard operation
go-fitz copied to clipboard

Vendoring the include files

Open agentabstract opened this issue 1 year ago • 2 comments
trafficstars

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.

agentabstract avatar Jul 26 '24 14:07 agentabstract

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.

gen2brain avatar Jul 27 '24 18:07 gen2brain

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

agentabstract avatar Jul 29 '24 17:07 agentabstract

Support for vendoring is added.

gen2brain avatar Sep 27 '24 15:09 gen2brain