From 5f5f2ddc3f40b96d174feccb622d2fd0ddc396fb Mon Sep 17 00:00:00 2001 From: kollivier Date: Sat, 18 Jun 2016 13:46:48 -0700 Subject: [PATCH] OS X version of cp does not have the -t argument, so instead pass the target dir as the last argument. --- pythonforandroid/build.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pythonforandroid/build.py b/pythonforandroid/build.py index 11b00403e0..a69af6ce0e 100644 --- a/pythonforandroid/build.py +++ b/pythonforandroid/build.py @@ -838,6 +838,5 @@ def copylibs_function(soname, objs_paths, extra_link_dirs=[], env=None): '\n\t'.join(needed_libs)) print('Copying libraries') - cp = sh.cp.bake('-t', dest) for lib in sofiles: - shprint(cp, lib) + shprint(sh.cp, lib, dest)