Commit b091755
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 root-project#21031.TROOT::GetSharedLibDir()
1 parent 4cfaed9 commit b091755
1 file changed
Lines changed: 18 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 | + | |
| 3174 | + | |
| 3175 | + | |
| 3176 | + | |
| 3177 | + | |
| 3178 | + | |
| 3179 | + | |
3163 | 3180 | | |
3164 | 3181 | | |
3165 | 3182 | | |
| |||
0 commit comments