Commit 68a654f7 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Patched boost to work with 'm' version of Python

parent 8ec59b47
all:
tar xf boost_1_72_0.tar.bz2
patch -Np1 -d boost_1_72_0 < boost_1_72_0-python_m.patch
cd boost_1_72_0 && ./bootstrap.sh --prefix=/usr --with-python=python3
cd boost_1_72_0 && ./b2 stage threading=multi link=shared
cd boost_1_72_0/tools/build/test && python3 test_all.py
......@@ -8,7 +9,7 @@ all:
temporary:
tar xf boost_1_72_0.tar.bz2
cd boost_1_72_0 && ./bootstrap.sh --prefix=/usr --with-python=python3
cd boost_1_72_0 && ./bootstrap.sh --prefix=/usr
cd boost_1_72_0 && ./b2 stage threading=multi link=shared
clean:
......
diff -uNr boost_1_72_0/tools/build/src/tools/python.jam boost_1_72_0-python_m/tools/build/src/tools/python.jam
--- boost_1_72_0/tools/build/src/tools/python.jam 2019-12-10 10:50:17.000000000 +1030
+++ boost_1_72_0-python_m/tools/build/src/tools/python.jam 2020-03-13 20:01:02.548352570 +1030
@@ -544,7 +544,7 @@
}
else
{
- includes ?= $(prefix)/include/python$(version) ;
+ includes ?= $(prefix)/include/python$(version)m ;
local lib = $(exec-prefix)/lib ;
libraries ?= $(lib)/python$(version)/config $(lib) ;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment