8000 Add the ndk platform libs dir during biglink · kivy/python-for-android@8ab0576 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8ab0576

Browse files
committed
Add the ndk platform libs dir during biglink
1 parent 9528e07 commit 8ab0576

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pythonforandroid/build.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,8 @@ def biglink(ctx, arch):
674674
join(ctx.get_libs_dir(arch.arch), 'libpymodules.so'),
675675
obj_dir.split(' '),
676676
extra_link_dirs=[join(ctx.bootstrap.build_dir,
677-
'obj', 'local', arch.arch)],
677+
'obj', 'local', arch.arch),
678+
os.path.abspath('.')],
678679
env=env)
679680

680681

@@ -704,6 +705,13 @@ def biglink_function(soname, objs_paths, extra_link_dirs=[], env=None):
704705
with open(libsfn) as fd:
705706
data = fd.read()
706707
args.extend(data.split(" "))
708+
if '-L/home/sandy/android/android-ndk-r11c/platforms/android-19/arch-arm/usr/lib' in args:
709+
print('!!!')
710+
print(fn, data)
711+
exit(1)
712+
713+
# print('args is', args)
714+
sargs = args
707715

708716
unique_args = []
709717
while args:

0 commit comments

Comments
 (0)
0