Skip to content

Commit f32d6c3

Browse files
committed
Fix: allocation for default library.
1 parent 8b1e4a6 commit f32d6c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fpm/src/fpm.f90

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ subroutine cmd_build(settings)
3333

3434
! Populate library in case we find the default src directory
3535
if (.not.allocated(package%library) .and. exists("src")) then
36+
allocate(package%library)
3637
call default_library(package%library)
3738
end if
3839

0 commit comments

Comments
 (0)