From 493e9b2614df79728deb40d5ec91edefa91a89c7 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Mon, 17 Jun 2019 12:50:45 -0700 Subject: Build fixes from fuzz target. --- bazel/upb_proto_library.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bazel') diff --git a/bazel/upb_proto_library.bzl b/bazel/upb_proto_library.bzl index 503925e..bf2e33a 100644 --- a/bazel/upb_proto_library.bzl +++ b/bazel/upb_proto_library.bzl @@ -175,7 +175,7 @@ def _upb_proto_rule_impl(ctx): "_WrappedGeneratedSrcs (aspect should have handled this).") cc_info = dep[_WrappedCcInfo].cc_info srcs = dep[_WrappedGeneratedSrcs].srcs - lib = cc_info.linking_context.libraries_to_link[0] + lib = cc_info.linking_context.libraries_to_link.to_list()[0] files = _filter_none([ lib.static_library, lib.pic_static_library, -- cgit v1.2.3