aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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