Opened 14 years ago

#2888 new Bugs

python static linking must use defaults for dl and pthread

Reported by: niklas@… Owned by: Dave Abrahams
Milestone: Boost 1.39.0 Component: python USE GITHUB
Version: Boost 1.38.0 Severity: Problem
Keywords: python static linking dl pthread Cc:

Description

When statically linking boost.python, you will get errors when it also tries to statically link libdl and and pthread.

The solution is to change a line in boost_1_38_0/tools/build/v2/tools/python.jam

line 657 from

case * : return <library>pthread <library>dl

to

case * : return

Change History (0)

Note: See TracTickets for help on using tickets.