Programming Tools Guide
Chapter 14, Shared libraries

Include routines the library itself needs

Include routines the library itself needs

Make the library self-contained. For example, printf(S) requires much of the standard I/O library. A shared library containing printf should contain the rest of the standard I/O routines, too.


NOTE: This guideline should not take priority over the others in this section. If you exclude some routine that the library itself needs based on a previous guideline, consider leaving the symbol out of the library and importing it.