made Jamfile to work on MinGW

This commit is contained in:
Arvid Norberg 2007-04-25 22:23:44 +00:00
parent fea87b2637
commit d03b88f1a3
1 changed files with 2 additions and 11 deletions

13
Jamfile
View File

@ -101,26 +101,17 @@ ZLIB_SOURCES =
DEFINES = ;
LIBS = ;
if [ os.name ] = CYGWIN
if [ os.name ] = CYGWIN || [ os.name ] = NT
{
lib wsock32 : : <name>wsock32 ;
lib ws2_32 : : <name>ws2_32 ;
LIBS += wsock32 ws2_32 ;
LIBS += ws2_32 wsock32 ;
DEFINES += WIN32_LEAN_AND_MEAN ;
DEFINES += _WIN32_WINNT=0x0500 ;
DEFINES += __USE_W32_SOCKETS ;
DEFINES += WIN32 ;
SOURCES += file_win ;
}
else if [ os.name ] = NT
{
lib wsock32 : : <name>wsock32.lib ;
LIBS += wsock32 ;
DEFINES += WIN32_LEAN_AND_MEAN ;
DEFINES += _WIN32_WINNT=0x0500 ;
DEFINES += WIN32 ;
SOURCES += file_win ;
}
else
{
SOURCES += file ;