Fix rpath for host benchmarks
am: aa3bf3768a
Change-Id: Ie94d93613f86e910ba44817b7ef5f8f26647f0f7
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