Jamfile updates for mingw

This commit is contained in:
Arvid Norberg 2007-09-10 07:51:58 +00:00
parent 28be72e7b6
commit 0db64cba2c
1 changed files with 6 additions and 1 deletions

View File

@ -26,7 +26,9 @@ rule linking ( properties * )
if <openssl>sha-1 in $(properties)
|| <openssl>pe in $(properties)
{
if <target-os>windows in $(properties)
# exclude gcc from a regular windows build to make mingw
# link against the regular unix library name
if <target-os>windows in $(properties) && ! <toolset>gcc in $(properties)
{
result += <library>ssleay32
<library>libeay32
@ -286,6 +288,9 @@ local usage-requirements =
<toolset>msvc,<variant>release:<linkflags>/OPT:REF
# disable warning C4503: decorated name length exceeded, name was truncated
<toolset>msvc:<cxxflags>/wd4503
# disable some warnings for gcc
<toolset>gcc:<cxxflags>-fno-strict-aliasing
<toolset>gcc:<cxxflags>-Wno-missing-braces
;
project torrent ;