aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpm/src/fpm.f901
1 files changed, 1 insertions, 0 deletions
diff --git a/fpm/src/fpm.f90 b/fpm/src/fpm.f90
index def32dd..1bd4c7f 100644
--- a/fpm/src/fpm.f90
+++ b/fpm/src/fpm.f90
@@ -33,6 +33,7 @@ end if
! Populate library in case we find the default src directory
if (.not.allocated(package%library) .and. exists("src")) then
+ allocate(package%library)
call default_library(package%library)
end if