]> granicus.if.org Git - python/commitdiff
Catch up with change to CCompiler API: call 'create_static_lib()', not
authorGreg Ward <gward@python.net>
Fri, 10 Mar 2000 02:02:44 +0000 (02:02 +0000)
committerGreg Ward <gward@python.net>
Fri, 10 Mar 2000 02:02:44 +0000 (02:02 +0000)
'link_static_lib()'.

Lib/distutils/command/build_clib.py

index c49e3ca73720fe70c13a88738cb0457f20a98957..6560fb4774e87477a61736af29bcbc39fea214dc 100644 (file)
@@ -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