Allow `whole_static_libs` in `bob_binary`
Allow `whole_static_libs` in `bob_binary`

This allows support for static registration in static libraries.

This is a common pattern in C++ test frameworks (such as Catch2).

Without linking the static library as a whole the linker can optimise
away the static registration part and there will be no tests registered.

See https://github.com/catchorg/Catch2/issues/720

Change-Id: I778a6cfbfe44acdf7d01eb34f144c4a1b5bb1db6
Signed-off-by: Matthew Clarkson <3f57013fd3becbf9f3b50879224a5da569018fb9@arm.com>

ARM-software/bob-build,ARM-software/bob-build,ARM-software/bob-build,ARM-software/bob-build,ARM-software/bob-build