Skip to content

Commit

Permalink
Revert change to use resolved shared lib links (bazel-contrib#2907)
Browse files Browse the repository at this point in the history
  • Loading branch information
glukasiknuro authored Apr 28, 2022
1 parent ed4a216 commit ba46686
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions go/private/rules/cgo.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit ba46686

Please sign in to comment.