From 5faca0dfca1de3d2297aed437a85754a1fbf5089 Mon Sep 17 00:00:00 2001 From: joriscarrier Date: Wed, 10 Jun 2020 15:52:11 -0700 Subject: [PATCH] fix: link statically against boost-python on linux (#581) Co-authored-by: Joris Carrier --- 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 d510fcfb8..cf8c379b3 100644 --- a/src/tools/python.jam +++ b/src/tools/python.jam @@ -51,7 +51,10 @@ lib dl ; # pass this to linker explicitly. lib util ; # Python uses pthread symbols. -lib pthread ; +lib pthread : + : linux:shared + ; + # Extra library needed by phtread on some platforms. lib rt ;