Use .so library extension by default if platform is not Windows or Darwin

llvm-svn: 232970
This commit is contained in:
Ed Maste
2015-03-23 17:52:38 +00:00
parent 9956670a0e
commit 4c276fb4cc

View File

@@ -370,10 +370,10 @@ def make_symlink_liblldb( vDictArgs, vstrFrameworkPythonDir, vstrLiblldbFileName
strLibFileExtn = ".dll";
strSrc = "bin/liblldb%s" % strLibFileExtn;
else:
if eOSType == utilsOsType.EnumOsType.Linux:
strLibFileExtn = ".so";
elif eOSType == utilsOsType.EnumOsType.Darwin:
if eOSType == utilsOsType.EnumOsType.Darwin:
strLibFileExtn = ".dylib";
else:
strLibFileExtn = ".so";
strSrc = "lib/liblldb%s" % strLibFileExtn;
bOk, strErrMsg = make_symlink( vDictArgs, vstrFrameworkPythonDir, strSrc, strTarget );