mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-02 13:19:34 +01:00
* 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:
parent
fbb0b48ad6
commit
e0a70d0510
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user