Skip to content

Commit

Permalink
fix macos library name (#1566)
Browse files Browse the repository at this point in the history
The library type was changed from SHARED to MODULE in #1384.

Fixes errors in conda-forge/deepmd-kit-feedstock#31
  • Loading branch information
njzjz authored Mar 12, 2022
1 parent 69989b4 commit 70fcda6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deepmd/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ def get_module(module_name: str) -> "ModuleType":
"""
if platform.system() == "Windows":
ext = ".dll"
elif platform.system() == "Darwin":
ext = ".dylib"
#elif platform.system() == "Darwin":
# ext = ".dylib"
else:
ext = ".so"

Expand Down

0 comments on commit 70fcda6

Please sign in to comment.