diff options
| author | Jeffrey Yasskin <[email protected]> | 2010-07-11 14:35:28 +0800 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-16 08:13:07 +0800 |
| commit | 3e63343fbc74b54f7776a9d8917b61db2506c2d8 (patch) | |
| tree | 1ab2678a8630fb013d3c5d453f9ce57293c232ba /src/boot/driver | |
| parent | Remove the __PAGEZERO segment from shared MachO libraries. This avoids a (diff) | |
| download | rust-3e63343fbc74b54f7776a9d8917b61db2506c2d8.tar.xz rust-3e63343fbc74b54f7776a9d8917b61db2506c2d8.zip | |
Let the compiler find libraries that aren't in the current directory.
Diffstat (limited to 'src/boot/driver')
| -rw-r--r-- | src/boot/driver/lib.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/boot/driver/lib.ml b/src/boot/driver/lib.ml index 764fd688..71b310b0 100644 --- a/src/boot/driver/lib.ml +++ b/src/boot/driver/lib.ml @@ -176,7 +176,8 @@ let get_mod let dh = Unix.opendir dir in let rec scan _ = try - let file = Unix.readdir dh in + let basename = Unix.readdir dh in + let file = dir ^ "/" ^ basename in log sess "considering file %s" file; if (Filename.check_suffix file suffix) && (file_matches file) |