Skip to content

Commit 5549ccc

Browse files
committed
TODO debugging, squash
1 parent 73d5659 commit 5549ccc

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

pythonforandroid/bootstrap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ def strip_libraries(self, arch):
377377
libs_dir = join(self.dist_dir, f'_python_bundle__{arch.arch}',
378378
'_python_bundle', 'modules')
379379
filens = shprint(sh.find, libs_dir, join(self.dist_dir, 'libs'),
380-
'-iname', '*.so', _env=env)
380+
'-iname', '*.so', _env=env).stdout.decode('utf-8')
381381

382382
logger.info('Stripping libraries in private dir')
383383
for filen in filens.split('\n'):

pythonforandroid/recipes/libxml2/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def build_arch(self, arch):
2020
shprint(sh.Command('./autogen.sh'), _env=env)
2121
shprint(sh.Command('autoreconf'), '-vif', _env=env)
2222
build_arch = shprint(
23-
sh.gcc, '-dumpmachine').split('\n')[0]
23+
sh.gcc, '-dumpmachine').stdout.decode('utf-8').split('\n')[0]
2424
shprint(sh.Command('./configure'),
2525
'--build=' + build_arch,
2626
'--host=' + arch.command_prefix,

pythonforandroid/recipes/protobuf_cpp/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ def build_arch(self, arch):
7676
with current_directory(self.get_build_dir(arch.arch)):
7777
build_arch = (
7878
shprint(sh.gcc, '-dumpmachine')
79+
.stdout.decode('utf-8')
7980
.split('\n')[0]
8081
)
8182

0 commit comments

Comments
 (0)