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 <wes...@wolinke.com>
Authored: Thu Apr 27 15:58:35 2017 +0800
Committer: wesley <wes...@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

Reply via email to