diff options
author | Joseph Powers <jpowers27@cox.net> | 2011-05-07 17:56:38 -0700 |
---|---|---|
committer | Joseph Powers <jpowers27@cox.net> | 2011-05-07 17:56:38 -0700 |
commit | b53a86a5676d5bcb88ed6e3ac524a3560e713c22 (patch) | |
tree | 3e88e503592aa607d8063a8973f1d6720bdb8f45 /scp2/source/python | |
parent | 8c81266fba9728f352338034373ce50649643cb8 (diff) |
Mac OS X uses .dylib and not .so for python modules.
At least this works better on my system.
Diffstat (limited to 'scp2/source/python')
-rw-r--r-- | scp2/source/python/file_python.scp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scp2/source/python/file_python.scp b/scp2/source/python/file_python.scp index 1b70d73cf827..2895c5c8b27e 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 |