Index: src/sdk/pluginmanager.cpp
===================================================================
--- src/sdk/pluginmanager.cpp (revision 3178)
+++ src/sdk/pluginmanager.cpp (working copy)
@@ -748,6 +748,8 @@
{
#ifdef __WXMSW__
#define PLUGINS_MASK _T("*.dll")
+#elif __WXMAC__
+ #define PLUGINS_MASK _T("*.dylib")
#else
#define PLUGINS_MASK _T("*.so")
#endif
@@ -769,6 +771,8 @@
// defaults
#ifdef __WXMSW__
bbplugins.Add(_T("compiler.dll"));
+ #elif __WXMAC__
+ bbplugins.Add(_T("libcompiler.dylib"));
#else
bbplugins.Add(_T("libcompiler.so"));
#endif
Index: src/src/compilersettingsdlg.cpp
===================================================================
--- src/src/compilersettingsdlg.cpp (revision 3176)
+++ src/src/compilersettingsdlg.cpp (working copy)
@@ -70,6 +70,8 @@
// defaults
#ifdef __WXMSW__
bbplugins.Add(_T("compiler.dll"));
+ #elif __WXMAC__
+ bbplugins.Add(_T("libcompiler.dylib"));
#else
bbplugins.Add(_T("libcompiler.so"));
#endif
@@ -241,6 +243,8 @@
#ifdef __WXMSW__
const wxString compiler = _T("compiler.dll");
+ #elif __WXMAC__
+ const wxString compiler = _T("libcompiler.dylib");
#else
const wxString compiler = _T("libcompiler.so");
#endif
I found the bug, pluginmanager.cpp has been patched with (the erroneous) .dylib again.
It went broke in revision r3261. (http://developer.berlios.de/patch/download.php?id=1622)
This is the portion that needs to be reversed (I will do this shortly):CodeIndex: src/sdk/pluginmanager.cpp
===================================================================
--- src/sdk/pluginmanager.cpp (revision 3178)
+++ src/sdk/pluginmanager.cpp (working copy)
@@ -748,6 +748,8 @@
{
#ifdef __WXMSW__
#define PLUGINS_MASK _T("*.dll")
+#elif __WXMAC__
+ #define PLUGINS_MASK _T("*.dylib")
#else
#define PLUGINS_MASK _T("*.so")
#endif
@@ -769,6 +771,8 @@
// defaults
#ifdef __WXMSW__
bbplugins.Add(_T("compiler.dll"));
+ #elif __WXMAC__
+ bbplugins.Add(_T("libcompiler.dylib"));
#else
bbplugins.Add(_T("libcompiler.so"));
#endif
Index: src/src/compilersettingsdlg.cpp
===================================================================
--- src/src/compilersettingsdlg.cpp (revision 3176)
+++ src/src/compilersettingsdlg.cpp (working copy)
@@ -70,6 +70,8 @@
// defaults
#ifdef __WXMSW__
bbplugins.Add(_T("compiler.dll"));
+ #elif __WXMAC__
+ bbplugins.Add(_T("libcompiler.dylib"));
#else
bbplugins.Add(_T("libcompiler.so"));
#endif
@@ -241,6 +243,8 @@
#ifdef __WXMSW__
const wxString compiler = _T("compiler.dll");
+ #elif __WXMAC__
+ const wxString compiler = _T("libcompiler.dylib");
#else
const wxString compiler = _T("libcompiler.so");
#endif
The plugins should be .so on Mac too, while dynamic libs are .dylib.
Strange, I still see it in my rev 3275 ?Very strange, just check the diff between 3265 and 3266 http://svn.berlios.de/wsvn/codeblocks/?op=log&rev=0&sc=0&isdir=1
edit: Now gone for real in rev 3276...
http://svn.berlios.de/svnroot/repos/codeblocks/trunk/src/sdk/pluginmanager.cpp
I'm more inclined to think that this is a bug in subversion