Add exported_linker_flags to cgo_library
Created by: linzhp
Now cgo_library
can take C files in its srcs
, we should add exported_linker_flags too, so the linker flags can be passed down to the final linking stage. Alternatives, we may pass all linker flags of cgo_library
to all rules that transitively depend on it.
@mkaczanowski What do you think?