Mercurial > hg > truffle
diff mxtool/mx.py @ 4482:7903b6c28f9c
Add hsdis command to mx
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Tue, 07 Feb 2012 19:03:51 +0100 |
parents | 4023bae16d02 |
children | b06ade6e927c |
line wrap: on
line diff
--- a/mxtool/mx.py Tue Feb 07 15:59:54 2012 +0100 +++ b/mxtool/mx.py Tue Feb 07 19:03:51 2012 +0100 @@ -648,6 +648,17 @@ return name + '.exe' return name +def lib_suffix(name): + """ + Gets the platform specific suffix for a library + """ + os = get_os(); + if os == 'windows': + return name + '.dll' + if os == 'linux': + return name + '.so' + return name + """ A JavaConfig object encapsulates info on how Java commands are run. """