IDE: packagelink: do not expand empty package link filename

git-svn-id: branches/fixes_2_0@59455 -
This commit is contained in:
mattias 2018-11-05 10:31:24 +00:00
parent bfd2e66013
commit 19b5cdc8c5

View File

@ -269,7 +269,7 @@ end;
function TLazPackageLink.GetEffectiveFilename: string;
begin
Result:=LPKFilename;
if not FilenameIsAbsolute(Result) then
if (Result<>'') and not FilenameIsAbsolute(Result) then
Result:=TrimFilename(EnvironmentOptions.GetParsedLazarusDirectory+PathDelim+Result);
end;