Force linking of src/osx/core/sockosx.cpp.

Without this the file was omitted by linker entirely in the static build and
the correct socket manager wasn't used for the GUI applications (see #11030).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-08-17 23:02:56 +00:00
parent 6bcc1145fe
commit 3270038fb4
2 changed files with 9 additions and 0 deletions

View File

@@ -2079,4 +2079,9 @@ wxFORCE_LINK_MODULE( socketiohandler )
wxFORCE_LINK_MODULE( mswsocket )
#endif
// and for OSXManagerSetter in the OS X one
#ifdef __WXMAC__
wxFORCE_LINK_MODULE( osxsocket )
#endif
#endif // wxUSE_SOCKETS