--- setupinfo.py.orig 2018-06-14 13:42:56.000000000 -0700 +++ setupinfo.py 2018-06-14 13:45:12.000000000 -0700 @@ -124,7 +124,7 @@ ]) _library_dirs = _prefer_reldirs(base_dir, library_dirs(static_library_dirs)) _cflags = cflags(static_cflags) - _ldflags = ['-isysroot', get_xcode_isysroot()] if sys.platform == 'darwin' else None + _ldflags = None _define_macros = define_macros() _libraries = libraries()