8000 changed arch.ndk_platform to arch.ndk_lib_dir · endlessm/python-for-android@6b68f42 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6b68f42

Browse files
authored
changed arch.ndk_platform to arch.ndk_lib_dir
fix for ```python AttributeError: 'ArchARMv7_a' object has no attribute 'ndk_platform' ```
1 parent b9af853 commit 6b68f42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/recipes/librt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class LibRt(Recipe):
1919
finishes'''
2020

2121
def build_arch(self, arch):
22-
libc_path = join(arch.ndk_platform, 'usr', 'lib', 'libc')
22+
libc_path = join(arch.ndk_lib_dir, 'usr', 'lib', 'libc')
2323
# Create a temporary folder to add to link path with a fake librt.so:
2424
fake_librt_temp_folder = join(
2525
self.get_build_dir(arch.arch),

0 commit comments

Comments
 (0)
0