tools/builder/LinuxBuilder.cs
changeset 1558 95a3d8bf618d
parent 1548 e759eedf6c9b
child 1879 64edd58691ab
     1.1 --- a/tools/builder/LinuxBuilder.cs	Sun Oct 14 20:25:57 2007 +0000
     1.2 +++ b/tools/builder/LinuxBuilder.cs	Sun Oct 14 21:31:39 2007 +0000
     1.3 @@ -16,7 +16,7 @@
     1.4  			return "spcomp";
     1.5  		}
     1.6  
     1.7 -		public override bool BuildLibrary(Package pkg, Library lib, ref string _binName, ref string _binPath)
     1.8 +		public override bool BuildLibrary(Package pkg, Library lib)
     1.9  		{
    1.10  			ProcessStartInfo info = new ProcessStartInfo();
    1.11  
    1.12 @@ -94,8 +94,12 @@
    1.13  				return false;
    1.14  			}
    1.15  			
    1.16 -			_binName = binName;
    1.17 -			_binPath = binpath;
    1.18 +			path = Config.PathFormat("{0}/{1}/{2}/{3}",
    1.19 +				cfg.pkg_path,
    1.20 +				pkg.GetBaseFolder(),
    1.21 +				lib.package_path,
    1.22 +				binName);
    1.23 +			File.Copy(binpath, path, true);
    1.24  
    1.25  			return true;
    1.26  		}