aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurence Kedward <laurence.kedward@bristol.ac.uk>2020-09-20 10:56:58 +0100
committerGitHub <noreply@github.com>2020-09-20 10:56:58 +0100
commitdd02f5d601dff3d214b1bf82d6bd62d29364d6b4 (patch)
tree9560a30be5217503a749fbb8aced36d12b224131
parent54dcbc101f33ef6c0a448850bb4a64cbe0147bb1 (diff)
downloadfpm-dd02f5d601dff3d214b1bf82d6bd62d29364d6b4.tar.gz
fpm-dd02f5d601dff3d214b1bf82d6bd62d29364d6b4.zip
Update: object names to include original extension
Co-authored-by: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com>
-rw-r--r--fpm/src/fpm_backend.f902
1 files changed, 1 insertions, 1 deletions
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