Skip to content

Commit dd02f5d

Browse files
LKedwardawvwgk
andauthored
Update: object names to include original extension
Co-authored-by: Sebastian Ehlert <[email protected]>
1 parent 54dcbc1 commit dd02f5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fpm/src/fpm_backend.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ function get_object_name(model,source_file_name) result(object_file)
152152

153153
! Construct full target path
154154
object_file = join_path(model%output_directory, model%package_name, &
155-
basename(object_file,suffix=.false.)//'.o')
155+
object_file//'.o')
156156

157157
end function get_object_name
158158

0 commit comments

Comments
 (0)