diff mxtool/mx.py @ 5189:6fbf12b8e572

automated download of hsdis lib if PrintAssembly option is used; added support for hsdis on the Mac
author Doug Simon <doug.simon@oracle.com>
date Tue, 03 Apr 2012 21:31:32 +0200
parents 99ad84da5f99
children a6eceb5efb0e
line wrap: on
line diff
--- a/mxtool/mx.py	Tue Apr 03 10:58:23 2012 +0200
+++ b/mxtool/mx.py	Tue Apr 03 21:31:32 2012 +0200
@@ -728,8 +728,10 @@
     os = get_os();
     if os == 'windows':
         return name + '.dll'
-    if os == 'linux':
+    if os == 'linux' or os == 'solaris':
         return name + '.so'
+    if os == 'darwin':
+        return name + '.dylib'
     return name
 
 """