summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-19 22:00:05 (GMT)
committerGuido van Rossum <guido@python.org>1996-08-19 22:00:05 (GMT)
commita29756c1dd2f266901fd995fa9c09f3d028b87db (patch)
tree53dcb5bbd2498c52a7b8706db543371f6fbdaf08
parent07b983da99d908812e9355379eeca0b5fbd8c07c (diff)
downloadcpython-a29756c1dd2f266901fd995fa9c09f3d028b87db.zip
cpython-a29756c1dd2f266901fd995fa9c09f3d028b87db.tar.gz
cpython-a29756c1dd2f266901fd995fa9c09f3d028b87db.tar.bz2
Recognize *.sl and *.so as library (i.e. linker) arguments
-rwxr-xr-xModules/makesetup2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/makesetup b/Modules/makesetup
index 76ee033..b00dfd4 100755
--- a/Modules/makesetup
+++ b/Modules/makesetup
@@ -132,6 +132,8 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
-[IDUC]*) cpps="$cpps $arg";;
-[A-Zl]*) libs="$libs $arg";;
*.a) libs="$libs $arg";;
+ *.so) libs="$libs $arg";;
+ *.sl) libs="$libs $arg";;
*.o) srcs="$srcs `basename $arg .o`.c";;
*.[cC]) srcs="$srcs $arg";;
*.cc) srcs="$srcs $arg";;