Changeset 28367 in vbox
- Timestamp:
- Apr 15, 2010 2:44:42 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 60127
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r28362 r28367 455 455 # Enables the Python<->XPCOM and Python<->COM bindings. 456 456 VBOX_WITH_PYTHON ?= 1 457 # Build against multiple Python versions present in the system 458 VBOX_WITH_MULTIVERSION_PYTHON ?= 1 457 459 # Enable the kchmviewer. 458 460 VBOX_WITH_KCHMVIEWER = 1 -
trunk/src/libs/xpcom18a4/python/gen_python_deps.py
r21254 r28367 38 38 else: 39 39 lib64 = None 40 return [os.path.join(p, "include", "python"+v), 40 return [os.path.join(p, "include", "python"+v), 41 41 lib, 42 42 lib64] … … 51 51 52 52 def main(argv): 53 global prefixes 54 global versions 55 53 56 dllpre = "lib" 54 57 dllsuff = ".so" … … 61 64 62 65 if len(argv) > 2: 63 arch = argv[2] 66 arch = argv[2] 64 67 else: 65 68 arch = "unknown" 69 70 if len(argv) > 3: 71 multi = int(argv[3]) 72 else: 73 multi = 1 74 75 if multi == 0: 76 prefixes = ["/usr"] 77 versions = [str(sys.version_info[0])+'.'+str(sys.version_info[1])] 66 78 67 79 if target == 'darwin': … … 89 101 keys.sort() 90 102 d = None 91 # We need separator other than newline, to sneak through $(shell) 103 # We need separator other than newline, to sneak through $(shell) 92 104 sep = "|" 93 105 for k in keys: … … 97 109 print_vars(vers, known[k], sep, bitness_magic) 98 110 if d is not None: 99 print_vars("DEF", known[d], sep, bitness_magic) 111 print_vars("DEF", known[d], sep, bitness_magic) 100 112 101 113 if __name__ == '__main__':
Note:
See TracChangeset
for help on using the changeset viewer.