Skip to content

Commit

Permalink
fix: misspelling in library name
Browse files Browse the repository at this point in the history
  • Loading branch information
dbhart committed Dec 14, 2024
1 parent 7901c21 commit 19a34f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wntr/epanet/msx/toolkit.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
libmsx = resource_filename(__name__, "../libepanet/windows-x64/epanetmsx.dll")
elif sys.platform in ["darwin"]:
if 'arm' in platform.platform().lower():
libepanet = resource_filename(__name__, "../libepanet/darwin-arm/libepanet.dylib")
libepanet = resource_filename(__name__, "../libepanet/darwin-arm/libepanet2.dylib")
libmsx = resource_filename(__name__, "../libepanet/darwin-arm/libepanetmsx.dylib")
else:
libepanet = resource_filename(__name__, "../libepanet/darwin-x64/libepanet.dylib")
libepanet = resource_filename(__name__, "../libepanet/darwin-x64/libepanet2.dylib")
libmsx = resource_filename(__name__, "../libepanet/darwin-x64/libepanetmsx.dylib")
else:
libepanet = resource_filename(__name__, "../libepanet/linux-x64/libepanet2.so")
libmsx = resource_filename(__name__, "../libepanet/linux-x64/epanetmsx.dll")
libmsx = resource_filename(__name__, "../libepanet/linux-x64/libepanetmsx.so")

dylib_dir = os.environ.get('DYLD_FALLBACK_LIBRARY_PATH','')
if dylib_dir != '':
Expand Down

0 comments on commit 19a34f4

Please sign in to comment.