diff --git a/go/private/rules/cgo.bzl b/go/private/rules/cgo.bzl index 32d827ae3c..b8fc93a677 100644 --- a/go/private/rules/cgo.bzl +++ b/go/private/rules/cgo.bzl @@ -195,10 +195,10 @@ def _cc_libs_and_flags(target): libs.append(library_to_link.static_library) elif library_to_link.pic_static_library != None: libs.append(library_to_link.pic_static_library) - elif library_to_link.resolved_symlink_interface_library != None: - libs.append(library_to_link.resolved_symlink_interface_library) - elif library_to_link.resolved_symlink_dynamic_library != None: - libs.append(library_to_link.resolved_symlink_dynamic_library) + elif library_to_link.interface_library != None: + libs.append(library_to_link.interface_library) + elif library_to_link.dynamic_library != None: + libs.append(library_to_link.dynamic_library) return libs, flags def _include_unique(opts, flag, include, seen):