Convert --exclude-libs argument to linker flag
Fixes build with TDM-GCC
This commit is contained in:
parent
f8a6e6cce4
commit
fa216717bf
5
c_check
5
c_check
|
@ -234,6 +234,11 @@ $linker_a = "";
|
||||||
$linker_L .= "-Wl,". $flags . " "
|
$linker_L .= "-Wl,". $flags . " "
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($flags =~ /^\--exclude-libs/) {
|
||||||
|
$linker_L .= "-Wl,". $flags . " ";
|
||||||
|
$flags="";
|
||||||
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
($flags =~ /^\-l/)
|
($flags =~ /^\-l/)
|
||||||
&& ($flags !~ /gfortranbegin/)
|
&& ($flags !~ /gfortranbegin/)
|
||||||
|
|
Loading…
Reference in New Issue