You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2017/04/27 17:32:40 UTC

[1/2] incubator-mynewt-newt git commit: fix: can't link third-party archive files

Repository: incubator-mynewt-newt
Updated Branches:
  refs/heads/master 409f7d307 -> 25d87344e


fix: can't link third-party archive files


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/07339f3b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/07339f3b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/07339f3b

Branch: refs/heads/master
Commit: 07339f3b498b1ebf017a808f3159730ea4b58ef1
Parents: 409f7d3
Author: wesley <we...@wolinke.com>
Authored: Thu Apr 27 15:58:35 2017 +0800
Committer: wesley <we...@wolinke.com>
Committed: Thu Apr 27 15:58:35 2017 +0800

----------------------------------------------------------------------
 newt/toolchain/compiler.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/07339f3b/newt/toolchain/compiler.go
----------------------------------------------------------------------
diff --git a/newt/toolchain/compiler.go b/newt/toolchain/compiler.go
index d2e484c..2fe8bb7 100644
--- a/newt/toolchain/compiler.go
+++ b/newt/toolchain/compiler.go
@@ -657,7 +657,7 @@ func (c *Compiler) CopyArchive(filename string) error {
 		return nil
 	}
 
-	tgtFile := c.dstFilePath(filename) + ".a"
+	tgtFile := c.dstDir + "/" + filepath.Base(filename)
 	copyRequired, err := c.depTracker.CopyRequired(filename)
 	if err != nil {
 		return err


[2/2] incubator-mynewt-newt git commit: This closes #57.

Posted by ma...@apache.org.
This closes #57.

Merge branch 'fix_archive_file' of https://github.com/wesley-wu/incubator-mynewt-newt


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/25d87344
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/25d87344
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/25d87344

Branch: refs/heads/master
Commit: 25d87344e767a2fcd3bb5217477e2faa1d380e3a
Parents: 409f7d3 07339f3
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Thu Apr 27 10:14:13 2017 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Thu Apr 27 10:14:13 2017 -0700

----------------------------------------------------------------------
 newt/toolchain/compiler.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------