2025-03-13 22:38:50 +01:00

24 lines
450 B
Python

import os
from SCons.Script import *
def available(env: Environment):
if os.name != 'nt':
return 'Winldap is only available on Windows.'
def versions(env: Environment, update: bool = False):
if os.name == 'nt':
return [(0, 0, 0)]
else:
return []
def dependencies(env: Environment, version) -> 'dict':
return {}
def cook(env: Environment, version) -> dict:
return {
'LIBS': ['Wldap32']
}