Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[core] Use the resolved library path.
GetSharedLibDeps may need to resolve to the absolute path, however, if we give only the file stem GetSharedLibDeps cannot support features such as resolving of relative path to $ROOTSYS/lib/. For example, `cd /home/`; root.exe -e 'gSystem->Load("../test/libEvent.so")'. `TSystem::Load` will call an interface passing the relative path which will resolve to $ROOTSYS/lib/../test/libEvent.so, however, if GetSharedLibDeps calls the same interface it will give the wrong results. This patch fixes this behavior and optimizes GetSharedLibDeps when we have already the full path.
- Loading branch information