Skip to content

Commit 2c2159f

Browse files
committed
add macos fix
1 parent 81af006 commit 2c2159f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/fpm_targets.f90

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,11 +1238,10 @@ subroutine resolve_target_linking(targets, model, library, error)
12381238
error=error, &
12391239
exclude_self=.not.has_self_lib)
12401240

1241-
1242-
! On macOS, add room for 2 install_name_tool paths
1243-
target%link_flags = target%link_flags // model%compiler%get_headerpad_flags()
1244-
12451241
end if
1242+
1243+
! On macOS, add room for 2 install_name_tool paths
1244+
target%link_flags = target%link_flags // model%compiler%get_headerpad_flags()
12461245

12471246
if (allocated(target%link_libraries)) then
12481247
if (size(target%link_libraries) > 0) then

0 commit comments

Comments
 (0)