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)
This commit is contained in:
Guido van Rossum 1998-04-23 14:38:46 +00:00
parent f8830d1de5
commit df1940717d

View file

@ -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