I'm attempting to build a binary-only library that includes some dependencies. The build of the binary-only library itself goes great, but it doesn't actually include my dependencies: when I try to use the library on a system without the dependencies installed, I am given an error saying they are missing.
For reference, the command I'm using to build the library is:
go build -o build/pkg/<os>_<arch>/<path/to/binary>.a
I then write my stub <library>.go file to build/src/<path/to/binary>.go. 
The stub file contains stubbed implementations of all public methods and an import block for its dependencies, with each dependency included in that import block.
The stub file also has the // go:binary-only-package line above the package directive.
If there is a way to build a binary library that will include its dependencies I'd appreciate it!