Honor visibility options when compiled as a static library (#1276)
Honor visibility options when compiled as a static library (#1276)

* Honor visibility options when compiled as a static library

* .

* .

onnx/onnx,onnx/onnx,onnx/onnx,onnx/onnx