From 14e773d3b2486147ce8c1c346fa4f495c65cc9e0 Mon Sep 17 00:00:00 2001 From: madprogramer Date: Sun, 1 Oct 2017 11:59:41 +0300 Subject: [PATCH] Tried to get this thing to work on MacOS added: or platform.system() == "Darwin" as a check to see if extra arguments should be used. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 973b826..9cd5ea2 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ extra_compile_args = [] extra_link_args = [] -if platform.system() == "Linux": +if platform.system() == "Linux" or platform.system() == "Darwin": extra_compile_args = ["-std=c++14"] extra_link_args = ["-lstdc++fs"] @@ -26,4 +26,4 @@ extra_compile_args=extra_compile_args, extra_link_args=extra_link_args ) - ]) \ No newline at end of file + ])