]> granicus.if.org Git - python/commitdiff
- Weaklink InterfaceLib in _Res module
authorJack Jansen <jack.jansen@cwi.nl>
Fri, 22 Mar 2002 14:15:07 +0000 (14:15 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Fri, 22 Mar 2002 14:15:07 +0000 (14:15 +0000)
- forgot to pass libraryflags and stdlibraryflags on to ppc/carbon
  project generation.

First half of fix to 531398.

Mac/scripts/genpluginprojects.py

index f96e44f35e9e2de7e6356b6ccaa2c7b98ab707cf..d95c4adb7f745d2997b4f9383103f7751c64ccf7 100644 (file)
@@ -41,9 +41,11 @@ def genpluginproject(architecture, module,
                # For the time being we generate two project files. Not as nice as
                # a single multitarget project, but easier to implement for now.
                genpluginproject("ppc", module, project, projectdir, sources, sourcedirs,
-                               libraries, extradirs, extraexportsymbols, outputdir)
+                               libraries, extradirs, extraexportsymbols, outputdir, libraryflags,
+                               stdlibraryflags, prefixname)
                genpluginproject("carbon", module, project, projectdir, sources, sourcedirs,
-                               libraries, extradirs, extraexportsymbols, outputdir)
+                               libraries, extradirs, extraexportsymbols, outputdir, libraryflags,
+                               stdlibraryflags, prefixname)
                return
        templatename = "template-%s" % architecture
        targetname = "%s.%s" % (module, architecture)
@@ -162,7 +164,8 @@ def genallprojects(force=0):
        genpluginproject("ppc", "_Qt", libraries=["QuickTimeLib"], outputdir="::Lib:Carbon")
        genpluginproject("carbon", "_Qt", outputdir="::Lib:Carbon")
        genpluginproject("all", "_Qdoffs", outputdir="::Lib:Carbon")
-       genpluginproject("all", "_Res", outputdir="::Lib:Carbon")
+       genpluginproject("all", "_Res", 
+                       stdlibraryflags="Debug, WeakImport", outputdir="::Lib:Carbon")
        genpluginproject("all", "_Scrap", outputdir="::Lib:Carbon")
        genpluginproject("ppc", "_Snd", libraries=["CarbonAccessors.o", "SoundLib"], outputdir="::Lib:Carbon")
        genpluginproject("carbon", "_Snd", outputdir="::Lib:Carbon")