Skip to content

Commit 999271b

Browse files
authored
Merge pull request #1 from dbnicholson/le-home-env
Include HOME in build environment
2 parents b0ad428 + 1f09e2c commit 999271b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pythonforandroid/archs.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,10 @@ def get_clang_exe(self, with_target=False, plus_plus=False):
140140
def get_env(self, with_flags_in_cc=True):
141141
env = {}
142142

143+
# HOME: User's home directory
144+
if 'HOME' in environ:
145+
env['HOME'] = environ['HOME']
146+
143147
# CFLAGS/CXXFLAGS: the processor flags
144148
env['CFLAGS'] = ' '.join(self.common_cflags).format(target=self.target)
145149
if self.arch_cflags:

0 commit comments

Comments
 (0)