diff options
Diffstat (limited to 'py/python/Ice.py')
-rw-r--r-- | py/python/Ice.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/py/python/Ice.py b/py/python/Ice.py index f23c6a675e9..0563a6a3592 100644 --- a/py/python/Ice.py +++ b/py/python/Ice.py @@ -324,6 +324,14 @@ def getSliceDir(): if os.path.exists(dir): return dir + elif sys.platform == "darwin": + # + # Check the default OS X location. + # + dir = os.path.join("/", "Library", "Developer", "Ice-" + iceVer, "slice") + if os.path.exists(dir): + return dir + return None # |