Work-around for crt objects with sdk: current
Test: convert libcups from Android.mk->Android.bp, mm -j64. Change-Id: I4fddcfa5806d0ce27a229c37a078b0d93e9082a8
This commit is contained in:
@@ -424,7 +424,7 @@ func (library *libraryDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps {
|
||||
// version.
|
||||
version := ctx.sdkVersion()
|
||||
if version == "current" {
|
||||
version = ctx.AConfig().PlatformSdkVersion()
|
||||
version = getCurrentNdkPrebuiltVersion(ctx)
|
||||
}
|
||||
deps.CrtBegin = "ndk_crtbegin_so." + version
|
||||
deps.CrtEnd = "ndk_crtend_so." + version
|
||||
|
Reference in New Issue
Block a user