You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if any of the dependencies of go_library in cgo mode are not cc_library, objc_library, cc_proto_library or cc_import, it fails the build.
But in the case of external dependencies which are unable to use cc_library to bundle all its transitive dependencies (because of bazelbuild/bazel#492), they need to use cc_binary to create a *.so shared library.
Expected outcome
go_library should support linking shared libraries even if they are created by cc_binary.
Bazel version
0.20.0
OS version
Ubuntu 16.04
The text was updated successfully, but these errors were encountered:
Description
Currently, if any of the dependencies of
go_library
incgo
mode are not cc_library, objc_library, cc_proto_library or cc_import, it fails the build.But in the case of external dependencies which are unable to use
cc_library
to bundle all its transitive dependencies (because of bazelbuild/bazel#492), they need to usecc_binary
to create a *.so shared library.Expected outcome
go_library
should support linking shared libraries even if they are created bycc_binary
.Bazel version
OS version
The text was updated successfully, but these errors were encountered: