7 def set_env(env, prereq_dir, version):
8 # this prerequisites is only used on windows platform
9 env.set('ZLIB_ROOT_DIR', prereq_dir)
10 if platform.system() == "Windows" :
11 env.set('ZLIB_DIR', prereq_dir)
12 env.set('ZLIB_BIN', os.path.join(prereq_dir, 'bin'))
13 env.set('ZLIB_LIBRARY', os.path.join(prereq_dir, 'bin'))
14 env.set('ZLIB_LIBRARIES', os.path.join(prereq_dir, 'bin'))
15 env.set('ZLIB_INCLUDE_DIR', os.path.join(prereq_dir, 'include'))
16 env.prepend('INCLUDE', os.path.join(prereq_dir, 'include'))
17 env.prepend('LIB', os.path.join(prereq_dir, 'bin'))
18 env.prepend('PATH', os.path.join(prereq_dir, 'bin'))
22 def set_nativ_env(env):