Skip to content

Commit

Permalink
Use the env property of AndroidSDK instead of os.environ.
Browse files Browse the repository at this point in the history
  • Loading branch information
mansourmoufid committed Dec 26, 2021
1 parent 6ce88d1 commit f514ad8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/briefcase/commands/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,8 @@ def build_env(self, app: BaseConfig):
:param app: The config object for the app
"""
env = dict(os.environ)
# env = dict(os.environ)
env = self.android_sdk.env
includepy = self.include_path(app)
if includepy is not None:
cppflags = env.get("CPPFLAGS", "").split(" ")
Expand Down

0 comments on commit f514ad8

Please sign in to comment.