Skip to content

Commit

Permalink
Merge pull request #1 from Jan-David-Black/master
Browse files Browse the repository at this point in the history
enable install on macos
  • Loading branch information
flaport authored Jan 22, 2023
2 parents ab3e6ce + 3ea0554 commit e223387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
f"{site_packages}",
suitesparse_lib,
],
extra_compile_args=[],
extra_link_args=["-static-libgcc", "-static-libstdc++"],
extra_compile_args=["-std=c++11"] if sys.platform=="darwin" else [],
extra_link_args= [] if sys.platform=="darwin" else ["-static-libgcc", "-static-libstdc++"],
libraries=[
"klu",
"btf",
Expand Down

0 comments on commit e223387

Please sign in to comment.