Changeset 28367 in vbox for trunk/src/libs/xpcom18a4/python
- Timestamp:
- Apr 15, 2010 2:44:42 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.