Esempio n. 1
0
 def generate_libraries(ext, build_dir):
     config_cmd = config.get_config_cmd()
     if top_path is None:
         libs = get_mathlibs()
     else:
         path = join(split(build_dir)[0], "core")
         libs = get_mathlibs(path)
     tc = testcode_wincrypt()
     if config_cmd.try_run(tc):
         libs.append("Advapi32")
     ext.libraries.extend(libs)
     return None
Esempio n. 2
0
 def generate_libraries(ext, build_dir):
     config_cmd = config.get_config_cmd()
     if top_path is None:
         libs = get_mathlibs()
     else:
         path = join(split(build_dir)[0], 'core')
         libs = get_mathlibs(path)
     tc = testcode_wincrypt()
     if config_cmd.try_run(tc):
         libs.append('Advapi32')
     ext.libraries.extend(libs)
     return None
Esempio n. 3
0
 def generate_libraries(ext, build_dir):
     config_cmd = config.get_config_cmd()
     libs = get_mathlibs()
     if sys.platform == 'win32':
         libs.append('Advapi32')
     ext.libraries.extend(libs)
     return None
Esempio n. 4
0
 def generate_libraries(ext, build_dir):
     config_cmd = config.get_config_cmd()
     libs = get_mathlibs()
     if sys.platform == "win32":
         libs.extend(["Advapi32", "Kernel32"])
     ext.libraries.extend(libs)
     return None
Esempio n. 5
0
 def generate_libraries(ext, build_dir):
     config_cmd = config.get_config_cmd()
     libs = get_mathlibs()
     tc = testcode_wincrypt()
     if config_cmd.try_run(tc):
         libs.append('Advapi32')
     ext.libraries.extend(libs)
     return None
Esempio n. 6
0
 def generate_libraries(ext, build_dir):
     config_cmd = config.get_config_cmd()
     libs = get_mathlibs()
     tc = testcode_wincrypt()
     if config_cmd.try_run(tc):
         libs.append('Advapi32')
     ext.libraries.extend(libs)
     return None