We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 29eec66 + 507c591 commit 5ceae41Copy full SHA for 5ceae41
1 file changed
setup.py
@@ -1326,6 +1326,8 @@ class db_found(Exception): pass
1326
zlib_h = zlib_inc[0] + '/zlib.h'
1327
version = '"0.0.0"'
1328
version_req = '"1.1.3"'
1329
+ if host_platform == 'darwin' and is_macosx_sdk_path(zlib_h):
1330
+ zlib_h = os.path.join(macosx_sdk_root(), zlib_h[1:])
1331
with open(zlib_h) as fp:
1332
while 1:
1333
line = fp.readline()
0 commit comments