2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Correct extra-libs logic for QNX

[SVN r34520]
This commit is contained in:
Dave Abrahams
2006-07-12 23:11:56 +00:00
parent f651aa659e
commit c73716c6be

View File

@@ -131,19 +131,14 @@ rule init-unix ( version ? : root ? : includes ? : libraries ? : condition * )
local extra-libs ;
if [ os.name ] = SOLARIS
{
extra-libs = dl ;
}
else if [ os.name ] = OSF || [ os.name ] = QNXTO
{
# Nothing.
}
else
{
extra-libs = dl util ;
}
switch [ os.name ]
{
case SOLARIS : extra-libs = dl ;
case OSF: extra-libs = ;
case QNXTO: extra-libs = util ;
case *: extra-libs = dl util ;
}
# On Linux, we don't want to link either Boost.Python or
# Python extensions to libpython, so that when extensions
@@ -159,7 +154,7 @@ rule init-unix ( version ? : root ? : includes ? : libraries ? : condition * )
;
alias python
: $(extra-libs)
: $(extra-libs)
: $(condition)
:
: <include>$(includes)