Fix rpath for host benchmarks am: aa3bf3768a
am: 79788ddf39
Change-Id: I1c2aa68fe20a954661e7ba534f94fbc39639682f
This commit is contained in:
4
cc/cc.go
4
cc/cc.go
@@ -2311,11 +2311,11 @@ func testLibraryFactory() (blueprint.Module, []interface{}) {
|
||||
}
|
||||
|
||||
type benchmarkLinker struct {
|
||||
binaryLinker
|
||||
testBinaryLinker
|
||||
}
|
||||
|
||||
func (benchmark *benchmarkLinker) deps(ctx BaseModuleContext, deps Deps) Deps {
|
||||
deps = benchmark.binaryLinker.deps(ctx, deps)
|
||||
deps = benchmark.testBinaryLinker.deps(ctx, deps)
|
||||
deps.StaticLibs = append(deps.StaticLibs, "libgoogle-benchmark")
|
||||
return deps
|
||||
}
|
||||
|
Reference in New Issue
Block a user