diff options
author | Ed Maste <emaste@freebsd.org> | 2015-03-23 17:52:38 +0000 |
---|---|---|
committer | Ed Maste <emaste@freebsd.org> | 2015-03-23 17:52:38 +0000 |
commit | 4c276fb4cc63626bfcfde0af9d2cc97545f38af6 (patch) | |
tree | 05d38c62aa94c5337be99a9e312d74a8897eb5b8 /lldb/scripts/Python/finishSwigPythonLLDB.py | |
parent | 9956670a0e92d11f0fcaa422000b699da7febcea (diff) | |
download | bcm5719-llvm-4c276fb4cc63626bfcfde0af9d2cc97545f38af6.tar.gz bcm5719-llvm-4c276fb4cc63626bfcfde0af9d2cc97545f38af6.zip |
Use .so library extension by default if platform is not Windows or Darwin
llvm-svn: 232970
Diffstat (limited to 'lldb/scripts/Python/finishSwigPythonLLDB.py')
-rw-r--r-- | lldb/scripts/Python/finishSwigPythonLLDB.py | 6 |
1 files changed, 3 insertions, 3 deletions
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 ); |