Skip to content

Commit

Permalink
Fix shlex.split on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
David Hirschfeld authored and frozencemetery committed Aug 26, 2020
1 parent dac08a8 commit dbb1db1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ def get_output(*args, **kwargs):


# get the compile and link args
posix = os.name != 'nt'
link_args, compile_args = [
shlex.split(os.environ[e]) if e in os.environ else None
shlex.split(os.environ[e], posix=posix) if e in os.environ else None
for e in ['GSSAPI_LINKER_ARGS', 'GSSAPI_COMPILER_ARGS']
]

Expand Down

0 comments on commit dbb1db1

Please sign in to comment.