diff --git a/source/gpr/lsp-gpr_files.adb b/source/gpr/lsp-gpr_files.adb index d7b88a5b2..565785145 100644 --- a/source/gpr/lsp-gpr_files.adb +++ b/source/gpr/lsp-gpr_files.adb @@ -1488,8 +1488,9 @@ package body LSP.GPR_Files is begin if Name'Length > 0 then return GPR2.Project.Create - (GPR2.Filename_Type (Name), - File.Search_Paths); + (Name => GPR2.Filename_Type (Name), + Resolve_Links => File.File_Provider.Follow_Symlinks, + Paths => File.Search_Paths); else return Path_Name.Undefined; end if;