mdadm: build against shared library

Build shared and static library and build mdadm against the
shared library.

Signed-off-by: Hannes Reinecke <hare@suse.de>
3 files changed