From 9f200c3a29a1fa794fb11b60f8cab02f77fc882e Mon Sep 17 00:00:00 2001 From: LKedward Date: Tue, 10 Nov 2020 13:49:18 +0000 Subject: Minor fix: add missing link flags from model. --- fpm/src/fpm_backend.f90 | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit v1.2.3