Skip to content

Commit

Permalink
update docstring and implementation to #866
Browse files Browse the repository at this point in the history
  • Loading branch information
tcaduser committed Sep 21, 2023
1 parent bcb9818 commit a51c4b0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions kivy_ios/toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,11 @@ def get_env(self):
def noicctempfile():
'''
reported issue where C Python has issues with 'icc' in the compiler path
https://github.com/python/cpython/issues/96398
https://github.com/python/cpython/pull/96399
'''
x = tempfile.NamedTemporaryFile()
while 'icc' in x.name:
x = tempfile.NamedTemporaryFile()
while 'icc' in (x := tempfile.NamedTemporaryFile()).name:
pass
return x

self._ccsh = noicctempfile()
Expand Down

0 comments on commit a51c4b0

Please sign in to comment.