-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Control linking of dependencies for cc_library #492
Copy link
Copy link
Closed as not planned
Labels
P4This is either out of scope or we don't have bandwidth to review a PR. (No assignee)This is either out of scope or we don't have bandwidth to review a PR. (No assignee)team-Rules-CPPIssues for C++ rulesIssues for C++ rulestype: feature request
Description
cc_library currently does not link its dependencies, but cc_binary does. It whould be nice if I could control this behaviour for each dependency to create cc_libraries that do contain the symbols from their dependencies. For example by using a flag like linkwithlibrary=true in each dependency or giving a list of "must-link" dependencies inside the final cc_library definition
See also: http://stackoverflow.com/questions/32845940/symbols-from-static-cc-library-dependency-in-so-missing
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P4This is either out of scope or we don't have bandwidth to review a PR. (No assignee)This is either out of scope or we don't have bandwidth to review a PR. (No assignee)team-Rules-CPPIssues for C++ rulesIssues for C++ rulestype: feature request