Commit a265eb3
committed
Fix libomp.a copy logic to handle multiple glob matches
Iterate over expanded glob patterns and select the first regular file
to avoid "cp: target 'libomp.a' is not a directory" errors when
multiple GCC versions are present.1 parent 5ee9fae commit a265eb3
1 file changed
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
70 | 72 | | |
71 | 73 | | |
72 | 74 | | |
| |||
0 commit comments