Incremental builds take long time linking tests if utilities are
modified. The link time can be eliminate if libraries are made shared.
Shared libraries need to specify symbols that are excepted to be
declared in executeable as weak to allow linking without symbols that
aren't used in runtime.
Windows has limitation that shared library can't have programs main
function that forces windows to use static libraries.
Signed-off-by: Pauli Nieminen <firstname.lastname@example.org>
Reviewed-by: Chad Versace <email@example.com>
Acked-by: Kenneth Graunke <firstname.lastname@example.org>