mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
use the proper prefix file under Carbon
This commit is contained in:
parent
abdfc4147d
commit
f3456912e4
1 changed files with 4 additions and 1 deletions
|
@ -37,7 +37,10 @@ class ProjectBuilder:
|
|||
raise Error, "Cannot find templatedir %s"%templatedir
|
||||
self.dict = dict
|
||||
if not dict.has_key('prefixname'):
|
||||
dict['prefixname'] = 'mwerks_plugin_config.h'
|
||||
if hasattr(MacOS, 'runtimemodel') and MacOS.runtimemodel == "carbon":
|
||||
dict['prefixname'] = 'mwerks_carbonplugin_config.h'
|
||||
else:
|
||||
dict['prefixname'] = 'mwerks_plugin_config.h'
|
||||
self.templatelist = templatelist
|
||||
self.templatedir = templatedir
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue