Skip to content

Commit

Permalink
fix macos?
Browse files Browse the repository at this point in the history
  • Loading branch information
AWehrhahn committed Apr 4, 2022
1 parent 67ec937 commit fa1d8be
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/pysme/smelib/libtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,6 @@ def download_libsme(loc=None):

os.remove(fname)

if system in ["macos"]:
fullname = get_full_libfile()
subprocess.run(
[
"install_name_tool",
"-change",
"libsme.5.dylib",
basename(fullname),
fullname,
]
)


def compile_interface():
"""
Expand Down Expand Up @@ -109,6 +97,8 @@ def get_lib_name():

if system == "windows":
return "libsme-5.dll"
elif system == "darwin":
return "libsme.5.dylib"

arch = platform.machine()
bits = 64 # platform.architecture()[0][:-3]
Expand Down

0 comments on commit fa1d8be

Please sign in to comment.