]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Oops, missed the prefixname optional arg when I applied the previous backport.
authorJack Jansen <jack.jansen@cwi.nl>
Tue, 26 Mar 2002 23:38:16 +0000 (23:38 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Tue, 26 Mar 2002 23:38:16 +0000 (23:38 +0000)
Mac/scripts/genpluginprojects.py

index b8f65c3b981560fd21566058b16689b6328e21e0..ade36bfb54448eb42ecc802397d2b108383776ec 100644 (file)
@@ -36,7 +36,7 @@ def genpluginproject(architecture, module,
                sources=[], sourcedirs=[],
                libraries=[], extradirs=[],
                extraexportsymbols=[], outputdir=":::Lib:lib-dynload",
-               libraryflags=None, stdlibraryflags=None):
+               libraryflags=None, stdlibraryflags=None, prefixname=None):
        if architecture == "all":
                # For the time being we generate two project files. Not as nice as
                # a single multitarget project, but easier to implement for now.
@@ -78,7 +78,9 @@ def genpluginproject(architecture, module,
                else:
                        print "Warning: %s: sourcefile not found: %s"%(module, sources[0])
                        sourcedirs = []
-       if architecture == "carbon":
+       if prefixname:
+               pass
+       elif architecture == "carbon":
                prefixname = "mwerks_carbonplugin_config.h"
        else:
                prefixname = "mwerks_plugin_config.h"