diff Mac/scripts/genpluginprojects.py @ 22442:9afeaf9979a0 legacy-trunk

- Weaklink InterfaceLib in _Res module - forgot to pass libraryflags and stdlibraryflags on to ppc/carbon project generation. First half of fix to 531398.
author Jack Jansen <jack.jansen@cwi.nl>
date Fri, 22 Mar 2002 14:15:07 +0000
parents 160e335fbe6f
children c8165758a6de
line wrap: on
line diff
--- a/Mac/scripts/genpluginprojects.py	Fri Mar 22 06:32:32 2002 +0000
+++ b/Mac/scripts/genpluginprojects.py	Fri Mar 22 14:15:07 2002 +0000
@@ -41,9 +41,11 @@
 		# 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 @@
 	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")