From: Guido van Rossum Date: Thu, 23 Apr 1998 14:38:46 +0000 (+0000) Subject: When using extention modules, relative path names that occur in the X-Git-Tag: v1.5.2a1~852 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=df1940717d4308335454732a3c9e54ab91af056d;p=thirdparty%2FPython%2Fcpython.git 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) --- diff --git a/Tools/freeze/checkextensions.py b/Tools/freeze/checkextensions.py index a7890d83f6a9..68f7ff893ed3 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