aboutsummaryrefslogtreecommitdiff
path: root/src/fpm_compiler.f90
diff options
context:
space:
mode:
authorSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2021-06-06 09:35:10 +0200
committerSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2021-06-06 09:36:33 +0200
commit5651c74ae8b08e3bd72a1a761fd5c64396ed6856 (patch)
tree7a0b31bed0920d19029a422864a2118ca97aca26 /src/fpm_compiler.f90
parent1dd45535600237b2790a61eccd9e0c6cbabbc826 (diff)
downloadfpm-5651c74ae8b08e3bd72a1a761fd5c64396ed6856.tar.gz
fpm-5651c74ae8b08e3bd72a1a761fd5c64396ed6856.zip
Merge stderr and stdout for ar version test
Diffstat (limited to 'src/fpm_compiler.f90')
-rw-r--r--src/fpm_compiler.f902
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:"