Adjusted dynamic library extension for Windows (which is also .lib).
This commit is contained in:
parent
b47ceb81dc
commit
7916566d47
@ -255,11 +255,7 @@ def _lib_filename(env: Environment, name: str, type: str = 'static') -> str:
|
|||||||
}[type]
|
}[type]
|
||||||
return f'lib{name}.{ext}'
|
return f'lib{name}.{ext}'
|
||||||
elif os.name == 'nt':
|
elif os.name == 'nt':
|
||||||
ext = {
|
return f'{name}.lib'
|
||||||
'static': 'lib',
|
|
||||||
'shared': 'dll'
|
|
||||||
}[type]
|
|
||||||
return f'{name}.{ext}'
|
|
||||||
else:
|
else:
|
||||||
raise Exception('What OS is this?')
|
raise Exception('What OS is this?')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user