Convert --exclude-libs argument to linker flag

Fixes build with TDM-GCC
This commit is contained in:
Martin Kroeker 2016-11-22 09:14:55 +01:00 committed by GitHub
parent f8a6e6cce4
commit fa216717bf
1 changed files with 5 additions and 0 deletions

View File

@ -234,6 +234,11 @@ $linker_a = "";
$linker_L .= "-Wl,". $flags . " "
}
if ($flags =~ /^\--exclude-libs/) {
$linker_L .= "-Wl,". $flags . " ";
$flags="";
}
if (
($flags =~ /^\-l/)
&& ($flags !~ /gfortranbegin/)