We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac25ca1 commit 507c591Copy full SHA for 507c591
1 file changed
setup.py
@@ -1313,6 +1313,8 @@ class db_found(Exception): pass
1313
zlib_h = zlib_inc[0] + '/zlib.h'
1314
version = '"0.0.0"'
1315
version_req = '"1.1.3"'
1316
+ if host_platform == 'darwin' and is_macosx_sdk_path(zlib_h):
1317
+ zlib_h = os.path.join(macosx_sdk_root(), zlib_h[1:])
1318
with open(zlib_h) as fp:
1319
while 1:
1320
line = fp.readline()
0 commit comments