Open codyps opened 1 day ago
If I place an empty.go file in each directory, can I keep the original file names? Since this project is sometimes used by non-Go projects, I'd like to minimize changes to file names and directory structure as much as possible.
See https://github.com/golang/go/issues/26366 for some backstory here.
Essentially, go (and especially
go mod vendor
) doesn't like having subdirectories that aren't go packages that are depended on. Currently, this package tracks include/header files and binary library objects in subdirectories. As a result, any package that depends onbls-eth-go-binary
(at any distance) will be broken when used withgo mod vendor
, becausego mod vendor
will not keep the header & library files because it doesn't consider them to be members of the module being depended on.Potential fixes:
bls/lib-linux-arm64-libbls384_256.a
, etc. (asbls
is the directory of the go module that links these libraries).