mirror of
https://github.com/python/cpython.git
synced 2025-10-14 02:43:49 +00:00
After variable expansion, what was formerly a single word can now
contain multiple words, all of which may have to be joined with the path of the extension directory. (Sjoerd)
This commit is contained in:
parent
e10053b881
commit
4a114313a8
1 changed files with 8 additions and 7 deletions
|
@ -44,6 +44,7 @@ def select(e, mods, vars, mod, skipofiles):
|
||||||
if not w:
|
if not w:
|
||||||
continue
|
continue
|
||||||
w = expandvars(w, vars)
|
w = expandvars(w, vars)
|
||||||
|
for w in string.split(w):
|
||||||
if skipofiles and w[-2:] == '.o':
|
if skipofiles and w[-2:] == '.o':
|
||||||
continue
|
continue
|
||||||
if w[0] != '-' and w[-2:] in ('.o', '.a'):
|
if w[0] != '-' and w[-2:] in ('.o', '.a'):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue