File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -314,11 +314,11 @@ if ($link ne "") {
314
314
315
315
$link =~ s /\- Y\s P\, / \- Y/ g ;
316
316
317
- $link =~ s /\- R\s */ \- rpath\@ / g ;
317
+ $link =~ s /\- R\s */ \- rpath\% / g ;
318
318
319
- $link =~ s /\- rpath\s +/ \- rpath\@ / g ;
319
+ $link =~ s /\- rpath\s +/ \- rpath\% / g ;
320
320
321
- $link =~ s /\- rpath-link\s +/ \- rpath-link\@ / g ;
321
+ $link =~ s /\- rpath-link\s +/ \- rpath-link\% / g ;
322
322
323
323
@flags = split (/ [\s\,\n ]/ , $link );
324
324
# remove leading and trailing quotes from each flag.
@@ -344,13 +344,13 @@ if ($link ne "") {
344
344
}
345
345
346
346
347
- if ($flags =~ / ^\- rpath\@ / ) {
348
- $flags =~ s /\@ / \, / g ;
347
+ if ($flags =~ / ^\- rpath\% / ) {
348
+ $flags =~ s /\% / \, / g ;
349
349
$linker_L .= " -Wl," . $flags . " " ;
350
350
}
351
351
352
- if ($flags =~ / ^\- rpath-link\@ / ) {
353
- $flags =~ s /\@ / \, / g ;
352
+ if ($flags =~ / ^\- rpath-link\% / ) {
353
+ $flags =~ s /\% / \, / g ;
354
354
$linker_L .= " -Wl," . $flags . " " ;
355
355
}
356
356
if ($flags =~ / -lgomp/ && $ENV {" CC" } =~ / clang/ ) {
You can’t perform that action at this time.
0 commit comments