Ticket #21530: patch-config_py.diff
File patch-config_py.diff, 1.1 KB (added by Veence (Vincent), 15 years ago) |
---|
-
config.py
old new 288 288 # String options 289 289 for option in ['WX_CONFIG', 'SYS_WX_CONFIG', 'WXDLLVER', 'BUILD_BASE', 290 290 'WXPORT', 'SWIG', 'CONTRIBS_INC', 'WXPY_SRC', 'FLAVOUR', 291 'VER_FLAGS', 'ARCH', 'COMPILER', 291 'VER_FLAGS', 'ARCH', 'COMPILER', 'WXHEADERS', 292 292 ]: 293 293 for x in range(len(sys.argv)): 294 294 if sys.argv[x].find(option) == 0: … … 509 509 root = '' 510 510 for header, location in headers: 511 511 install_dir = os.path.normpath(root + 512 WX PREFIX+513 '/ include/wx-%d.%d/wx' % (VER_MAJOR, VER_MINOR) +512 WXHEADERS + 513 '/wx-%d.%d/wx' % (VER_MAJOR, VER_MINOR) + 514 514 location) 515 515 self.mkpath(install_dir) 516 516 (out, _) = self.copy_file(header, install_dir)