From dd02f5d601dff3d214b1bf82d6bd62d29364d6b4 Mon Sep 17 00:00:00 2001 From: Laurence Kedward Date: Sun, 20 Sep 2020 10:56:58 +0100 Subject: Update: object names to include original extension Co-authored-by: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> --- fpm/src/fpm_backend.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fpm/src/fpm_backend.f90 b/fpm/src/fpm_backend.f90 index 031e053..65d6dae 100644 --- a/fpm/src/fpm_backend.f90 +++ b/fpm/src/fpm_backend.f90 @@ -152,7 +152,7 @@ function get_object_name(model,source_file_name) result(object_file) ! Construct full target path object_file = join_path(model%output_directory, model%package_name, & - basename(object_file,suffix=.false.)//'.o') + object_file//'.o') end function get_object_name -- cgit v1.2.3