boost rebuild

This commit is contained in:
Rmys
2020-04-06 16:04:12 +03:00
parent 9d524a0c23
commit 48ce3ec9ed
2 changed files with 28 additions and 7 deletions
+14 -6
View File
@@ -19,13 +19,21 @@ def setup():
shelltools.copytree("../boost-%s" % (get.srcVERSION().replace("_", "~")), "../boost-%s-38" % get.srcVERSION())
shelltools.system("./bootstrap.sh --with-toolset=gcc --with-icu --with-python=/usr/bin/python2.7 --prefix=%s/usr" % get.installDIR())
shelltools.copytree("../boost-%s" % (get.srcVERSION().replace("_", "~")), "../boost-%s-38" % get.srcVERSION())
shelltools.system("./bootstrap.sh --with-toolset=gcc \
--with-icu \
--with-python=/usr/bin/python2.7 \
--prefix=%s/usr" % get.installDIR())
shelltools.cd("../boost-%s-38" % get.srcVERSION())
shelltools.system("sed -e '/using python/ s@;@: /usr/include/python${PYTHON_VERSION/3*/${PYTHON_VERSION}} ;@' \
-i bootstrap.sh")
shelltools.system("./bootstrap.sh --with-toolset=gcc --with-icu --with-python=/usr/bin/python3.8 --prefix=%s/usr" % get.installDIR())
shelltools.system("./bootstrap.sh --with-toolset=gcc \
--with-icu \
--with-python=/usr/bin/python3 \
--with-libraries=python \
--prefix=%s/usr" % get.installDIR())
shelltools.cd("..")
@@ -71,4 +79,4 @@ def install():
shelltools.copytree("tools/boostbook/dtd", "%s/usr/share/boostbook" % get.installDIR())
shelltools.system("./b2 install threading=multi link=shared")
# some packages need this library as : libboost_python3.so
pisitools.dosym("/usr/lib/libboost_python38.so.1.72.0", "/usr/lib/libboost_python3.so")
pisitools.dosym("/usr/lib/libboost_python38.so.1.72.0", "/usr/lib/libboost_python3.so")