From 15483434538c9f875d2599cacd1a2a839f48dab6 Mon Sep 17 00:00:00 2001 From: mattias Date: Mon, 7 Feb 2011 23:05:52 +0000 Subject: [PATCH] IDE: always use unix path delim in Makefile git-svn-id: trunk@29420 - --- packager/packagesystem.pas | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packager/packagesystem.pas b/packager/packagesystem.pas index beda4614c3..7b202bfa85 100644 --- a/packager/packagesystem.pas +++ b/packager/packagesystem.pas @@ -3830,12 +3830,13 @@ begin XMLConfig.SetValue('Makefile/Value',True); s:=OtherOptions; if UnitPath<>'' then - s:=s+' -Fu'+UnitPath; + s:=s+' -Fu'+SwitchPathDelims(UnitPath,pdsUnix); if IncPath<>'' then - s:=s+' -Fi'+IncPath; + s:=s+' -Fi'+SwitchPathDelims(IncPath,pdsUnix); if CustomOptions<>'' then s:=s+' '+CustomOptions; - s:=s+' '+CreateRelativePath(APackage.GetSrcFilename,APackage.Directory); + s:=s+' '+SwitchPathDelims(CreateRelativePath(APackage.GetSrcFilename,APackage.Directory),pdsUnix); + //debugln(['TLazPackageGraph.WriteMakeFile IncPath="',IncPath,'" UnitPath="',UnitPath,'" Custom="',CustomOptions,'" Out="',UnitOutputPath,'"']); XMLConfig.SetValue('Params/Value',s); if XMLConfig.Modified then begin