diff options
-rw-r--r-- | src/fpm_compiler.f90 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fpm_compiler.f90 b/src/fpm_compiler.f90 index aac6173..b3e3a56 100644 --- a/src/fpm_compiler.f90 +++ b/src/fpm_compiler.f90 @@ -475,7 +475,7 @@ function get_archiver() result(archiver) if (os_type /= OS_WINDOWS .and. os_type /= OS_UNKNOWN) then archiver = "ar -rs " else - call execute_command_line("ar --version > "//get_temp_filename(), & + call execute_command_line("ar --version > "//get_temp_filename()//" 2>&1", & & exitstat=estat) if (estat /= 0) then archiver = "lib /OUT:" |