Code

Fix native path on <fileset>-included objects
authorishmal <ishmal@users.sourceforge.net>
Fri, 4 May 2007 21:11:59 +0000 (21:11 +0000)
committerishmal <ishmal@users.sourceforge.net>
Fri, 4 May 2007 21:11:59 +0000 (21:11 +0000)
buildtool.cpp

index 6d1dd25a8795f0a920d576bc27d204492d8eaa28..39ae5be6ef87214665a371ed77809106453d419a 100644 (file)
@@ -38,7 +38,7 @@
  *     
  */  
 
-#define BUILDTOOL_VERSION  "BuildTool v0.6.12, 2007 Bob Jamison"
+#define BUILDTOOL_VERSION  "BuildTool v0.6.13, 2007 Bob Jamison"
 
 #include <stdio.h>
 #include <fcntl.h>
@@ -6561,7 +6561,8 @@ public:
                 }
             obj.append(fileSet[i]);
             String fullObj = parent.resolve(obj);
-            cmd.append(fullObj);
+            String nativeFullObj = getNativePath(fullObj);
+            cmd.append(nativeFullObj);
             //trace("link: tgt:%s obj:%s", fullTarget.c_str(),
             //          fullObj.c_str());
             if (isNewerThan(fullObj, fullTarget))