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]
|
||||
return f'lib{name}.{ext}'
|
||||
elif os.name == 'nt':
|
||||
ext = {
|
||||
'static': 'lib',
|
||||
'shared': 'dll'
|
||||
}[type]
|
||||
return f'{name}.{ext}'
|
||||
return f'{name}.lib'
|
||||
else:
|
||||
raise Exception('What OS is this?')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user