Boost.Python:

* Workarounds for many SunCC 5.9 bugs
* Suppression of many SunCC 5.9 warnings
* Improve the style of some test invocations in Jamfile


[SVN r41521]
This commit is contained in:
Dave Abrahams 2007-12-01 02:15:17 +00:00
parent 8c18527472
commit 59268479f1

View File

@ -610,13 +610,16 @@ local rule system-library-dependencies ( target-os )
# appears to duplicate the logic already in gcc.jam, it
# doesn't as long as we're not forcing <threading>multi.
# Caleb Epstein reports that his python's
# On solaris 10,
# distutils.sysconfig.get_config_var('LIBS') yields
# -lresolv -lsocket -lnsl -lrt -ldl. However, we're not
# yet sure that is the right list for extension modules.
# Being conservative, we add rt and remove pthread, which
# was causing errors.
return <library>dl <toolset>gcc:<library>rt ;
# '-lresolv -lsocket -lnsl -lrt -ldl'. However, that
# doesn't seem to be the right list for extension modules.
# For example, on my installation, adding -ldl causes at
# least one test to fail because the library can't be
# found and removing it causes no failures.
# Apparently, though, we need to add -lrt for gcc.
return <toolset>gcc:<library>rt ;
case osf : return <library>pthread <toolset>gcc:<library>rt ;