[fpm] can fpm be used to build a dynamic link library?

You are right: Producing shared libraries · Issue #681 · fortran-lang/fpm · GitHub the issue is still open.