Convert --exclude-libs argument to linker flag

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

View File

@ -283,6 +283,12 @@ if ($link ne "") {
$linker_L .= "-Wl,". $flags . " ";
}
if ($flags =~ /^\--exclude-libs/) {
$linker_L .= "-Wl,". $flags . " ";
$flags="";
}
if ($flags =~ /^\-rpath\@/) {
$flags =~ s/\@/\,/g;
if ($vendor eq "PGI") {