Fixed zlib recipe on linux.

This commit is contained in:
Patrick 2024-08-17 18:11:13 +02:00
parent c4200393fb
commit e1404fee58

View File

@ -9,9 +9,7 @@ _TAG_PATTERN = re.compile(r'^v([0-9]+)\.([0-9]+)(?:\.([0-9]+))?$')
def _build_lib_name(env: Environment) -> str:
if os.name == 'posix':
return {
'debug': 'zd'
}.get(env['BUILD_TYPE'], 'z')
return 'z'
elif os.name == 'nt':
return {
'debug': 'zlibstaticd'