New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20952: patch-config_py.diff

File patch-config_py.diff, 1.1 KB (added by vince@…, 2 years ago)

Patch #1 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)