Commit df194071 authored by Guido van Rossum's avatar Guido van Rossum

When using extention modules, relative path names that occur in the

Setup file are fixed so that they will work from the freeze build
directory.  However, relative path names in liner -L and -R options
are not fixed in this way.
(Sjoerd Mullender)
parent f8830d1d
......@@ -48,6 +48,8 @@ def select(e, mods, vars, mod, skipofiles):
continue
if w[0] != '-' and w[-2:] in ('.o', '.a'):
w = os.path.join(e, w)
if w[:2] in ('-L', '-R'):
w = w[:2] + os.path.join(e, w[2:])
files.append(w)
return files
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment