|
@@ -414,7 +414,8 @@ begin
|
|
|
begin
|
|
|
{ Copy .res file to units output dir. Otherwise .res file will not be found
|
|
|
when only compiled units path is available }
|
|
|
- if not CopyResFile(s,ExtractFileName(res.FPStr)) then exit;
|
|
|
+ res.FPStr:=ExtractFileName(res.FPStr); //store file name only in PPU.
|
|
|
+ if not CopyResFile(s,res.FPStr) then exit;
|
|
|
end;
|
|
|
end
|
|
|
else
|