--- a/fpm.toml
+++ b/fpm.toml
@@ -5,6 +5,9 @@
 maintainer = "@fortran-lang/stdlib"
 copyright = "2019-2021 stdlib contributors"
 
+[library]
+type = "shared"
+
 [dev-dependencies]
 test-drive.git = "https://github.com/fortran-lang/test-drive"
 test-drive.tag = "v0.4.0"
