Skip to content

Commit 5f5f2dd

Browse files
committed
OS X version of cp does not have the -t argument, so instead pass the target dir as the last argument.
1 parent 52f2478 commit 5f5f2dd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pythonforandroid/build.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -838,6 +838,5 @@ def copylibs_function(soname, objs_paths, extra_link_dirs=[], env=None):
838838
'\n\t'.join(needed_libs))
839839

840840
print('Copying libraries')
841-
cp = sh.cp.bake('-t', dest)
842841
for lib in sofiles:
843-
shprint(cp, lib)
842+
shprint(sh.cp, lib, dest)

0 commit comments

Comments
 (0)