summaryrefslogtreecommitdiffstats
path: root/Tools/freeze/checkextensions.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/freeze/checkextensions.py')
-rw-r--r--Tools/freeze/checkextensions.py2
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