浏览代码

Add comment

Bo Yang 6 年之前
父节点
当前提交
836af41347
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      python/setup.py

+ 3 - 0
python/setup.py

@@ -186,6 +186,9 @@ if __name__ == '__main__':
         extra_compile_args.append('-Wno-invalid-offsetof')
         extra_compile_args.append('-Wno-sign-compare')
 
+    # https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes
+    # C++ projects must now migrate to libc++ and are recommended to set a
+    # deployment target of macOS 10.9 or later, or iOS 7 or later.
     if sys.platform == 'darwin':
       os.environ['MACOSX_DEPLOYMENT_TARGET'] = '10.9'