ensure correct linking of the socket manager initializer for static builds of wxWidgets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
|
||||
#include "wx/apptrait.h"
|
||||
#include "wx/private/socket.h"
|
||||
#include "wx/link.h"
|
||||
|
||||
// ============================================================================
|
||||
// implementation
|
||||
@@ -111,4 +112,8 @@ static struct ManagerSetter
|
||||
}
|
||||
} gs_managerSetter;
|
||||
|
||||
|
||||
// see the relative linker macro in socket.cpp
|
||||
wxFORCE_LINK_THIS_MODULE( socketiohandler );
|
||||
|
||||
#endif // wxUSE_SOCKETS
|
||||
|
||||
Reference in New Issue
Block a user