summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-05-14 02:37:45 (GMT)
committerGuido van Rossum <guido@python.org>1998-05-14 02:37:45 (GMT)
commitfa1fb7df31bf1c9a892a53ccaaabee72d4a0bd6d (patch)
tree215a399a43c39954c5f25db0a52e61c320b66e88 /Modules
parent4ccda15cd33faa6898c78772634e61fa4212a439 (diff)
downloadcpython-fa1fb7df31bf1c9a892a53ccaaabee72d4a0bd6d.zip
cpython-fa1fb7df31bf1c9a892a53ccaaabee72d4a0bd6d.tar.gz
cpython-fa1fb7df31bf1c9a892a53ccaaabee72d4a0bd6d.tar.bz2
When a .o file is an absolute pathname, assume it's a file for which
we have no .c source.
Diffstat (limited to 'Modules')
-rwxr-xr-xModules/makesetup1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/makesetup b/Modules/makesetup
index b3f0cca..fb480dd 100755
--- a/Modules/makesetup
+++ b/Modules/makesetup
@@ -138,6 +138,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
*.a) libs="$libs $arg";;
*.so) libs="$libs $arg";;
*.sl) libs="$libs $arg";;
+ /*.o) libs="$libs $arg";;
*.o) srcs="$srcs `basename $arg .o`.c";;
*.[cC]) srcs="$srcs $arg";;
*.cc) srcs="$srcs $arg";;