-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add NO_EXPORTING tag to indicate that a lib doesn't export any
symbols therefore it is safe to link it more than once. This is useful in some cases, for example, a static lib has a constructor that needs to be run during loading time of the shared lib that has it linked into, and this is how the code gets called by the OS. This static lib might need to be linked as a whole archive dep for multiple shared libs, otherwise this static lib will be dropped by the linker since there are no incoming symbol references. RELNOTES:none PiperOrigin-RevId: 496497650 Change-Id: I9c13408c051320321fabcb3863d87e76c53b4568
- Loading branch information
1 parent
961158b
commit 5ba2d25
Showing
3 changed files
with
99 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters