From 6b68f426d945be8b7c3498025b1251b8d2410fb5 Mon Sep 17 00:00:00 2001 From: Akubue-Izundu Kenechukwu Date: Thu, 26 May 2022 07:26:05 +0100 Subject: [PATCH] changed arch.ndk_platform to arch.ndk_lib_dir fix for ```python AttributeError: 'ArchARMv7_a' object has no attribute 'ndk_platform' ``` --- pythonforandroid/recipes/librt/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythonforandroid/recipes/librt/__init__.py b/pythonforandroid/recipes/librt/__init__.py index fcd7d5048c..0532952b72 100644 --- a/pythonforandroid/recipes/librt/__init__.py +++ b/pythonforandroid/recipes/librt/__init__.py @@ -19,7 +19,7 @@ class LibRt(Recipe): finishes''' def build_arch(self, arch): - libc_path = join(arch.ndk_platform, 'usr', 'lib', 'libc') + libc_path = join(arch.ndk_lib_dir, 'usr', 'lib', 'libc') # Create a temporary folder to add to link path with a fake librt.so: fake_librt_temp_folder = join( self.get_build_dir(arch.arch),