Ticket #21530: patch-config_py.diff

File patch-config_py.diff, 1.1 KB (added by Veence (Vincent), 15 years ago)

Additional patch for py26-wxpython-devel

  • config.py

    old new  
    288288# String options
    289289for option in ['WX_CONFIG', 'SYS_WX_CONFIG', 'WXDLLVER', 'BUILD_BASE',
    290290               'WXPORT', 'SWIG', 'CONTRIBS_INC', 'WXPY_SRC', 'FLAVOUR',
    291                'VER_FLAGS', 'ARCH', 'COMPILER',
     291               'VER_FLAGS', 'ARCH', 'COMPILER', 'WXHEADERS',
    292292               ]:
    293293    for x in range(len(sys.argv)):
    294294        if sys.argv[x].find(option) == 0:
     
    509509            root = ''
    510510        for header, location in headers:
    511511            install_dir = os.path.normpath(root +
    512                                            WXPREFIX +
    513                                            '/include/wx-%d.%d/wx' % (VER_MAJOR, VER_MINOR) +
     512                                           WXHEADERS +
     513                                           '/wx-%d.%d/wx' % (VER_MAJOR, VER_MINOR) +
    514514                                           location)
    515515            self.mkpath(install_dir)
    516516            (out, _) = self.copy_file(header, install_dir)