Commit 0e6ea6d
committed
[core] Follow symlinks in
The idea is to find the actual ROOT install directory, so we have to
follow symlinks. The `info->dlpi_name` doesn't do that, so we need to do
that ourselves with `fs::canonical()`.
Closes #21031.TROOT::GetSharedLibDir()
1 parent 4cfaed9 commit 0e6ea6d
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3159 | 3159 | | |
3160 | 3160 | | |
3161 | 3161 | | |
3162 | | - | |
| 3162 | + | |
| 3163 | + | |
| 3164 | + | |
| 3165 | + | |
| 3166 | + | |
| 3167 | + | |
| 3168 | + | |
| 3169 | + | |
| 3170 | + | |
| 3171 | + | |
| 3172 | + | |
| 3173 | + | |
3163 | 3174 | | |
3164 | 3175 | | |
3165 | 3176 | | |
| |||
0 commit comments