Unverified Commit e582c0d4 authored by Jan Janßen's avatar Jan Janßen Committed by GitHub
Browse files

Update lammps.py

parent f5e3c538
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ class lammps(object):
    # fall back to loading with a relative path,
    #   typically requires LD_LIBRARY_PATH to be set appropriately

    if 'liblammps.dylib' in os.listdir(modpath):
    if any([f.startswith('liblammps') and f.endswith('.dylib') for f in os.listdir(modpath)]):
      lib_ext = ".dylib"
    else:
      lib_ext = ".so"