mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-06 05:10:52 +02:00
# revisions: 45428
git-svn-id: tags/release_3_2_0@45429 -
This commit is contained in:
commit
986622bd58
@ -1495,7 +1495,8 @@ unit scandir;
|
||||
begin
|
||||
current_scanner.skipspace;
|
||||
unitpath:=current_scanner.readcomment;
|
||||
if current_module.path<>'' then
|
||||
if (current_module.path<>'') and
|
||||
not path_absolute(unitpath) then
|
||||
unitpath:=current_module.path+source_info.DirSep+unitpath;
|
||||
current_module.localunitsearchpath.AddPath(unitpath,false);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user