diff options
author | Guido van Rossum <guido@python.org> | 1998-04-23 14:38:46 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-04-23 14:38:46 (GMT) |
commit | df1940717d4308335454732a3c9e54ab91af056d (patch) | |
tree | 59e6ce4d98b53dc3f118db419137ce4bb45b722b /Tools | |
parent | f8830d1de59db517984e292ee28607dcb9c04cd7 (diff) | |
download | cpython-df1940717d4308335454732a3c9e54ab91af056d.zip cpython-df1940717d4308335454732a3c9e54ab91af056d.tar.gz cpython-df1940717d4308335454732a3c9e54ab91af056d.tar.bz2 |
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)
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/freeze/checkextensions.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/freeze/checkextensions.py b/Tools/freeze/checkextensions.py index a7890d8..68f7ff8 100644 --- a/Tools/freeze/checkextensions.py +++ b/Tools/freeze/checkextensions.py @@ -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 |