禁用共享库,boost从源代码构建

时间:2018-11-19 11:48:32

标签: boost build static options shared

Boost(版本1.68.0)是从源代码构建的

操作系统:CentOS7.2 64位

构建命令:

./bootstrap.sh
./b2 address-model=64 architecture=x86 link=static runtime-link=static threading=multi
./b2 install

但是,libboost_XXXX.so和libboost_XXXX.a列在/ usr / local / lib

这些文件libboost_XXXX.so不应生成

为什么构建选项'link = static runtime-link = static'无效

0 个答案:

没有答案