diff options
-rw-r--r-- | fpm/src/fpm_backend.f90 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fpm/src/fpm_backend.f90 b/fpm/src/fpm_backend.f90 index e8f51cc..f70f477 100644 --- a/fpm/src/fpm_backend.f90 +++ b/fpm/src/fpm_backend.f90 @@ -33,8 +33,7 @@ subroutine build_package(model) end if if (model%targets(1)%ptr%target_type == FPM_TARGET_ARCHIVE) then - linking = ' -l'//model%package_name//" -L"//& - join_path(model%output_directory,model%package_name) + linking = " "//model%targets(1)%ptr%output_file else linking = " " end if |