Ticket #32068: patch-wscript.diff

File patch-wscript.diff, 1.1 KB (added by rudloff@…, 13 years ago)

Patch updated for 0.4.2

  • wscript

    old new  
    9090        return dirvalue
    9191
    9292    conf.check_tool ('compiler_cc')
     93    conf.check_tool ('osx')
    9394    conf.check_tool ('vala')
    9495    conf.check_tool ('glib2')
    9596
     
    353354    if unique == 'yes' and conf.check_cfg (modversion='unique-1.0') == '1.0.4':
    354355        Utils.pprint ('RED', 'unique 1.0.4 found, this version is erroneous.')
    355356        Utils.pprint ('RED', 'Please use an older or newer version.')
     357    conf.env['macbundle_PATTERN'] = '%s.so'
    356358
    357359def set_options (opt):
    358360    def is_maemo (): return os.path.exists ('/etc/osso-af-init/')
     
    368370            default=disable, help='Disable ' + desc, dest='disable_' + option_)
    369371
    370372    opt.tool_options ('compiler_cc')
     373    opt.tool_options ('osx')
    371374    opt.get_option_group ('--check-c-compiler').add_option('-d', '--debug-level',
    372375        action = 'store', default = '',
    373376        help = 'Specify the debugging level. [\'none\', \'debug\', \'full\']',