Skip to content

Commit 3e63343

Browse files
jyasskingraydon
authored andcommitted
Let the compiler find libraries that aren't in the current directory.
1 parent 29d0458 commit 3e63343

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/boot/driver/lib.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ let get_mod
176176
let dh = Unix.opendir dir in
177177
let rec scan _ =
178178
try
179-
let file = Unix.readdir dh in
179+
let basename = Unix.readdir dh in
180+
let file = dir ^ "/" ^ basename in
180181
log sess "considering file %s" file;
181182
if (Filename.check_suffix file suffix) &&
182183
(file_matches file)

0 commit comments

Comments
 (0)