Merge pull request #227 from colincross/testdeps

Add link dependency on test package archive
This commit is contained in:
colincross 2018-10-24 15:04:22 -07:00 committed by GitHub
commit 19099e68bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -561,7 +561,7 @@ func buildGoTest(ctx blueprint.ModuleContext, testRoot, testPkgArchive,
Optional: true, Optional: true,
}) })
var linkDeps []string linkDeps := []string{testPkgArchive}
libDirFlags := []string{"-L " + testRoot} libDirFlags := []string{"-L " + testRoot}
testDeps := []string{} testDeps := []string{}
ctx.VisitDepsDepthFirstIf(isGoPackageProducer, ctx.VisitDepsDepthFirstIf(isGoPackageProducer,