add missing llvm/_version.py

This commit is contained in:
Ilan Schnell 2013-02-01 16:04:58 -06:00
commit 0a6a11f35a
4 changed files with 199 additions and 2 deletions

View file

@ -88,7 +88,7 @@ def determine_to_use_dynlink(libdir, llvm_version):
elif sys.platform.startswith('win32'):
return dll in libdir_content
else: # other platforms
return any((x in libdir_content) for x in [so, dyld, dll])
return any((x in libdir_content) for x in [so, dylib, dll])
dynlink = determine_to_use_dynlink(libdir, llvm_version)