diff --git a/python/lammps/core.py b/python/lammps/core.py index be026d5e10..b73360a0b2 100644 --- a/python/lammps/core.py +++ b/python/lammps/core.py @@ -126,13 +126,16 @@ class lammps(object): lib_ext = ".dll" modpath = winpath else: + """ import platform - if platform.system() == "Darwin": + if platform.system() == "Darwin": # this flags an error on MacOSX lib_ext = ".dylib" elif platform.system() == "Windows": lib_ext = ".dll" else: lib_ext = ".so" + """ + lib_ext = ".so" if not self.lib: if name: