mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-16 02:40:36 +01:00
removed path delimeter at end of output path
git-svn-id: trunk@6337 -
This commit is contained in:
parent
5f69b871f5
commit
b9a12fba65
@ -510,7 +510,9 @@ begin
|
||||
end;
|
||||
|
||||
if NewTargetDirectory<>'' then
|
||||
AppendExtraOption('-FE'+NewTargetDirectory);
|
||||
// FPC interpretes '\ ' as an escape for a space in a path,
|
||||
// so make sure the directory doesn't end with the path delimeter.
|
||||
AppendExtraOption('-FE'+ChompPathDelim(NewTargetDirectory));
|
||||
|
||||
if NewTargetFilename<>'' then begin
|
||||
// FPC automatically changes the last extension (append or replace)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user