10000 manually copy libgnustl_shared needed · tangingw/python-for-android@1bbb83c · GitHub
[go: up one dir, main page]

Skip to content

Commit 1bbb83c

Browse files
committed
manually copy libgnustl_shared needed
1 parent 29e8e9a commit 1bbb83c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pythonforandroid/recipes/libzmq/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,13 @@ def build_arch(self, arch):
4848
self.ctx.ndk_dir, self.ctx.toolchain_version, arch),
4949
join(bootstrap_obj_dir, 'libgnustl_shared.so'))
5050

51+
# Copy libgnustl_shared.so
52+
with current_directory(self.get_build_dir(arch.arch)):
53+
sh.cp(
54+
"{ctx.ndk_dir}/sources/cxx-stl/gnu-libstdc++/{ctx.toolchain_version}/libs/{arch.arch}/libgnustl_shared.so".format(ctx=self.ctx,arch=arch),
55+
self.ctx.get_libs_dir(arch.arch)
56+
)
57+
5158
def get_recipe_env(self, arch):
5259
# XXX should stl be configuration for the toolchain itself?
5360
env = super(LibZMQRecipe, self).get_recipe_env(arch)

0 commit comments

Comments
 (0)
0