mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
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:
parent
f8830d1de5
commit
df1940717d
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue