Skip to content

Commit

Permalink
Merge pull request kivy#1 from dbnicholson/le-home-env
Browse files Browse the repository at this point in the history
Include HOME in build environment
  • Loading branch information
rtibbles committed Apr 20, 2022
2 parents b0ad428 + 1f09e2c commit 999271b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pythonforandroid/archs.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ def get_clang_exe(self, with_target=False, plus_plus=False):
def get_env(self, with_flags_in_cc=True):
env = {}

# HOME: User's home directory
if 'HOME' in environ:
env['HOME'] = environ['HOME']

# CFLAGS/CXXFLAGS: the processor flags
env['CFLAGS'] = ' '.join(self.common_cflags).format(target=self.target)
if self.arch_cflags:
Expand Down

0 comments on commit 999271b

Please sign in to comment.