Skip to content

Commit 5651c74

Browse files
committed
Merge stderr and stdout for ar version test
1 parent 1dd4553 commit 5651c74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fpm_compiler.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ function get_archiver() result(archiver)
475475
if (os_type /= OS_WINDOWS .and. os_type /= OS_UNKNOWN) then
476476
archiver = "ar -rs "
477477
else
478-
call execute_command_line("ar --version > "//get_temp_filename(), &
478+
call execute_command_line("ar --version > "//get_temp_filename()//" 2>&1", &
479479
& exitstat=estat)
480480
if (estat /= 0) then
481481
archiver = "lib /OUT:"

0 commit comments

Comments
 (0)