Skip to content

Commit 9f200c3

Browse files
committed
Minor fix: add missing link flags from model.
1 parent 4071e13 commit 9f200c3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fpm/src/fpm_backend.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ subroutine build_package(model)
3838
linking = " "
3939
end if
4040

41+
linking = linking//" "//model%link_flags
42+
4143
do i=1,size(model%targets)
4244

4345
call build_target(model,model%targets(i)%ptr,linking)

0 commit comments

Comments
 (0)