mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 13:35:38 +08:00
Use .so library extension by default if platform is not Windows or Darwin
llvm-svn: 232970
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user