diff options
author | LKedward <laurence.kedward@bristol.ac.uk> | 2020-11-10 13:49:18 +0000 |
---|---|---|
committer | LKedward <laurence.kedward@bristol.ac.uk> | 2020-11-10 13:49:18 +0000 |
commit | 9f200c3a29a1fa794fb11b60f8cab02f77fc882e (patch) | |
tree | 5abddca52304778bfe5549ef7b0ccd2902f9f0ca | |
parent | 4071e13104cc9b82ddd6969183a378b5a3f27b1c (diff) | |
download | fpm-9f200c3a29a1fa794fb11b60f8cab02f77fc882e.tar.gz fpm-9f200c3a29a1fa794fb11b60f8cab02f77fc882e.zip |
Minor fix: add missing link flags from model.
-rw-r--r-- | fpm/src/fpm_backend.f90 | 2 |
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) |