From a85b6d2aab8f69c5b14b24dabc05811f6ca69dab Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Wed, 22 Mar 2006 09:51:24 +0000 Subject: [PATCH] Force all dependents of python to get 'dl' library on Linux. [SVN r33433] --- src/tools/python.jam | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tools/python.jam b/src/tools/python.jam index 3377f3d7a..cd98ce5b3 100644 --- a/src/tools/python.jam +++ b/src/tools/python.jam @@ -121,6 +121,9 @@ rule init-unix ( version ? : root ? : includes ? : libraries ? : condition * ) flags python.capture-output PYTHON $(condition:J=/) : $(interpreter) ; } + # Dynamic linker lib. Necessary to specify it explicitly + # on some platforms. + lib dl ; # On Linux, we don't want to link either Boost.Python or # Python extensions to libpython, so that when extensions @@ -136,7 +139,7 @@ rule init-unix ( version ? : root ? : includes ? : libraries ? : condition * ) ; alias python - : + : dl : $(condition) : : $(includes)