Skip to content

Commit

Permalink
[fix]: Changing c compiler only for linux distributions
Browse files Browse the repository at this point in the history
  • Loading branch information
hentt30 committed May 6, 2021
1 parent a81a7df commit 97a84d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
import sys

extra_link_args = []
os.environ["CC"] = "g++"

if sys.platform == "win32":
extra_link_args.append("--fcompiler=gnu95")
os.environ["CC"] = "g++"

this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.rst'), encoding='utf-8') as f:
Expand Down

0 comments on commit 97a84d0

Please sign in to comment.