From 5651c74ae8b08e3bd72a1a761fd5c64396ed6856 Mon Sep 17 00:00:00 2001 From: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> Date: Sun, 6 Jun 2021 09:35:10 +0200 Subject: Merge stderr and stdout for ar version test --- src/fpm_compiler.f90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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:" -- cgit v1.2.3