[Libreoffice-commits] .: scp2/source

Joseph Powers jpowers at kemper.freedesktop.org
Sat May 7 17:57:00 PDT 2011


 scp2/source/python/file_python.scp |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 897d12cc608f2cf66b36bba938f6fdf1269ba6ec
Author: Joseph Powers <jpowers27 at cox.net>
Date:   Sat May 7 17:56:38 2011 -0700

    Mac OS X uses .dylib and not .so for python modules.
    
    At least this works better on my system.

diff --git a/scp2/source/python/file_python.scp b/scp2/source/python/file_python.scp
index 1b70d73..2895c5c 100644
--- a/scp2/source/python/file_python.scp
+++ b/scp2/source/python/file_python.scp
@@ -300,10 +300,14 @@ End
 
 #ifdef UNX
 
-// pyuno.so even on Mac OS X, because it is a python module
 File gid_File_Pyuno
     TXT_FILE_BODY;
+#ifdef MACOSX
+    // note: Mac OS X use .dylib, even for python modules
+    Name = "pyuno.dylib";
+#else
     Name = "pyuno.so";
+#endif
     Dir = gid_Dir_Program;
     Styles = (PACKED);
 End


More information about the Libreoffice-commits mailing list