[Lldb-commits] [lldb] r232970 - Use .so library extension by default if platform is not Windows or Darwin
Ed Maste
emaste at freebsd.org
Mon Mar 23 10:52:38 PDT 2015
Author: emaste
Date: Mon Mar 23 12:52:38 2015
New Revision: 232970
URL: http://llvm.org/viewvc/llvm-project?rev=232970&view=rev
Log:
Use .so library extension by default if platform is not Windows or Darwin
Modified:
lldb/trunk/scripts/Python/finishSwigPythonLLDB.py
Modified: lldb/trunk/scripts/Python/finishSwigPythonLLDB.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/Python/finishSwigPythonLLDB.py?rev=232970&r1=232969&r2=232970&view=diff
==============================================================================
--- lldb/trunk/scripts/Python/finishSwigPythonLLDB.py (original)
+++ lldb/trunk/scripts/Python/finishSwigPythonLLDB.py Mon Mar 23 12:52:38 2015
@@ -370,10 +370,10 @@ def make_symlink_liblldb( vDictArgs, vst
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 );
More information about the lldb-commits
mailing list