Skip to content

Commit b591cbb

Browse files
author
Mark W. Alexander
committed
- remove LIBS from environment to prevent user setting breaking linking
1 parent 29ef2e1 commit b591cbb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pythonforandroid/recipes/hostpython2/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from pythonforandroid.toolchain import Recipe, shprint, current_directory, info, warning
33
from os.path import join, exists
44
from os import chdir
5+
import os
56
import sh
67

78

@@ -36,6 +37,8 @@ def build_arch(self, arch):
3637
'hostpgen')
3738
return
3839

40+
if 'LIBS' in os.environ:
41+
os.environ.pop('LIBS')
3942
configure = sh.Command('./configure')
4043

4144
shprint(configure)

0 commit comments

Comments
 (0)