summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/command/build_clib.py
diff options
context:
space:
mode:
authorGreg Ward <gward@python.net>2000-03-10 02:02:44 (GMT)
committerGreg Ward <gward@python.net>2000-03-10 02:02:44 (GMT)
commit92f33770788f4fcb32be54014b43ccdeb8f20332 (patch)
treef45e171d822c2e261a944a6539e46b1a20e72256 /Lib/distutils/command/build_clib.py
parent169f91b8085ea6dccaa0d25b7c39bf66f9b86d14 (diff)
downloadcpython-92f33770788f4fcb32be54014b43ccdeb8f20332.zip
cpython-92f33770788f4fcb32be54014b43ccdeb8f20332.tar.gz
cpython-92f33770788f4fcb32be54014b43ccdeb8f20332.tar.bz2
Catch up with change to CCompiler API: call 'create_static_lib()', not
'link_static_lib()'.
Diffstat (limited to 'Lib/distutils/command/build_clib.py')
-rw-r--r--Lib/distutils/command/build_clib.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/distutils/command/build_clib.py b/Lib/distutils/command/build_clib.py
index c49e3ca..6560fb4 100644
--- a/Lib/distutils/command/build_clib.py
+++ b/Lib/distutils/command/build_clib.py
@@ -190,9 +190,9 @@ class build_clib (Command):
# Now "link" the object files together into a static library.
# (On Unix at least, this isn't really linking -- it just
# builds an archive. Whatever.)
- self.compiler.link_static_lib (objects, lib_name,
- output_dir=self.build_clib,
- debug=self.debug)
+ self.compiler.create_static_lib (objects, lib_name,
+ output_dir=self.build_clib,
+ debug=self.debug)
# for libraries