diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -10,6 +10,7 @@ with open('neologdn.cpp', 'r', encoding='utf8') as f:
 
 extra_compile_args = ["-std=c++11"]
 if platform.system() == "Darwin":
+    extra_compile_args.append("-mmacosx-version-min=10.7")
     extra_compile_args.append("-stdlib=libc++")
 
 setup(
Add explicit mmacosx-version-min=<I>

Without this complication fails with python <I>.
Hopefully this is ok