Skip to content

Commit

Permalink
changed arch.ndk_platform to arch.ndk_lib_dir
Browse files Browse the repository at this point in the history
fix for 
```python
AttributeError: 'ArchARMv7_a' object has no attribute 'ndk_platform'
```
  • Loading branch information
kengoon authored May 26, 2022
1 parent b9af853 commit 6b68f42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pythonforandroid/recipes/librt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 6b68f42

Please sign in to comment.