aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpm/src/fpm_backend.f902
1 files changed, 2 insertions, 0 deletions
diff --git a/fpm/src/fpm_backend.f90 b/fpm/src/fpm_backend.f90
index f70f477..d705ec2 100644
--- a/fpm/src/fpm_backend.f90
+++ b/fpm/src/fpm_backend.f90
@@ -38,6 +38,8 @@ subroutine build_package(model)
linking = " "
end if
+ linking = linking//" "//model%link_flags
+
do i=1,size(model%targets)
call build_target(model,model%targets(i)%ptr,linking)