diff options
Diffstat (limited to 'fpm/src/fpm_sources.f90')
-rw-r--r-- | fpm/src/fpm_sources.f90 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpm/src/fpm_sources.f90 b/fpm/src/fpm_sources.f90 index 3fffa81..c781535 100644 --- a/fpm/src/fpm_sources.f90 +++ b/fpm/src/fpm_sources.f90 @@ -161,7 +161,7 @@ subroutine add_executable_sources(sources,executables,scope,auto_discover,error) sources(j)%exe_name = executables(i)%name if (allocated(executables(i)%link)) then - exe_source%link_libraries = executables(i)%link + sources(j)%link_libraries = executables(i)%link end if cycle exe_loop |