diff options
-rw-r--r-- | c_check | 2 | ||||
-rw-r--r-- | f_check | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -174,6 +174,8 @@ $linker_a = ""; $link =~ s/\-Y\sP\,/\-Y/g; @flags = split(/[\s\,\n]/, $link); + # remove leading and trailing quotes from each flag. + @flags = map {s/^['"]|['"]$//g; $_} @flags; foreach $flags (@flags) { if ( @@ -237,6 +237,8 @@ if ($link ne "") { $link =~ s/\-rpath\s+/\-rpath\@/g; @flags = split(/[\s\,\n]/, $link); + # remove leading and trailing quotes from each flag. + @flags = map {s/^['"]|['"]$//g; $_} @flags; foreach $flags (@flags) { if ( |