boost rebuild
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user