* Do not copy a library to a remote target if this library name is specified using %DELFILES directive.

git-svn-id: branches/targetandroid@23489 -
This commit is contained in:
yury 2013-01-22 14:18:56 +00:00
parent fbb0b48ad6
commit e0a70d0510

View File

@ -1248,6 +1248,10 @@ begin
exit(true);
end;
execres:=true;
{ Check if library should be deleted. Do not copy to remote target in such case. }
if (deAfter in DelExecutable) and (Config.DelFiles <> '') then
if SplitFileName(FileToCopy) = DllPrefix + Trim(Config.DelFiles) + DllExt then
exit;
{ We don't want to create subdirs, remove paths from the test }
TestRemoteExe:=RemotePath+'/'+SplitFileName(FileToCopy);
if deBefore in DelExecutable then