Convert --exclude-libs argument to linker flag
Fixes build with TDM-GCC
This commit is contained in:
parent
fa216717bf
commit
e7732d9941
6
f_check
6
f_check
|
@ -283,6 +283,12 @@ if ($link ne "") {
|
||||||
$linker_L .= "-Wl,". $flags . " ";
|
$linker_L .= "-Wl,". $flags . " ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($flags =~ /^\--exclude-libs/) {
|
||||||
|
$linker_L .= "-Wl,". $flags . " ";
|
||||||
|
$flags="";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if ($flags =~ /^\-rpath\@/) {
|
if ($flags =~ /^\-rpath\@/) {
|
||||||
$flags =~ s/\@/\,/g;
|
$flags =~ s/\@/\,/g;
|
||||||
if ($vendor eq "PGI") {
|
if ($vendor eq "PGI") {
|
||||||
|
|
Loading…
Reference in New Issue