Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Before this commit, rustc looked in `dirname $0`/../lib for libraries but that doesn't work when rustc is invoked through a symlink. This commit makes rustc look in `dirname $(readlink $0)`/../lib, i.e. it first canonicalizes the symlink before walking up the directory tree. Fixes rust-lang#3632.
- Loading branch information