If the linker suppors it, ensure that the library has no undefined
references.

This is important to make sure that no bugs are introduced that breaks
when using --as-needed.
2 files changed