From 4c276fb4cc63626bfcfde0af9d2cc97545f38af6 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 23 Mar 2015 17:52:38 +0000 Subject: Use .so library extension by default if platform is not Windows or Darwin llvm-svn: 232970 --- lldb/scripts/Python/finishSwigPythonLLDB.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lldb/scripts/Python/finishSwigPythonLLDB.py') diff --git a/lldb/scripts/Python/finishSwigPythonLLDB.py b/lldb/scripts/Python/finishSwigPythonLLDB.py index 74e2c4ec7e8..fc59ee99040 100644 --- a/lldb/scripts/Python/finishSwigPythonLLDB.py +++ b/lldb/scripts/Python/finishSwigPythonLLDB.py @@ -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 ); -- cgit v1.2.3