forked from premiere/premiere-libtorrent
made Jamfile to work on MinGW
This commit is contained in:
parent
fea87b2637
commit
d03b88f1a3
13
Jamfile
13
Jamfile
|
@ -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 ;
|
||||
|
|
Loading…
Reference in New Issue