Merge "Do not link libc++.so statically on device."
This commit is contained in:
@@ -148,10 +148,14 @@ func NewFuzz(hod android.HostOrDeviceSupported) *Module {
|
|||||||
// include the STL.
|
// include the STL.
|
||||||
android.AddLoadHook(module, func(ctx android.LoadHookContext) {
|
android.AddLoadHook(module, func(ctx android.LoadHookContext) {
|
||||||
staticStlLinkage := struct {
|
staticStlLinkage := struct {
|
||||||
|
Target struct {
|
||||||
|
Linux_glibc struct {
|
||||||
Stl *string
|
Stl *string
|
||||||
|
}
|
||||||
|
}
|
||||||
}{}
|
}{}
|
||||||
|
|
||||||
staticStlLinkage.Stl = proptools.StringPtr("libc++_static")
|
staticStlLinkage.Target.Linux_glibc.Stl = proptools.StringPtr("libc++_static")
|
||||||
ctx.AppendProperties(&staticStlLinkage)
|
ctx.AppendProperties(&staticStlLinkage)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user