Added a comment on disabling ICU integration when compiling Boost on Linux.

This commit is contained in:
bubnikv 2018-01-02 10:36:45 +01:00
parent 0de0e4ff41
commit c6bc55e4f9

View File

@ -311,5 +311,6 @@ One may save compilation time by compiling just what Slic3r needs.
./bootstrap.sh --with-libraries=system,filesystem,thread,log,locale,regex ./bootstrap.sh --with-libraries=system,filesystem,thread,log,locale,regex
The -fPIC flag is required on Linux to make the static libraries rellocatable, The -fPIC flag is required on Linux to make the static libraries rellocatable,
so they could be embedded into a shared library. so they could be embedded into a shared library.
./bjam -a link=static variant=release threading=multi cxxflags=-fPIC cflags=-fPIC It is important to disable boost.locale.icu=off when compiling the static boost library.
./bjam -a link=static variant=release threading=multi boost.locale.icu=off --with-locale cxxflags=-fPIC cflags=-fPIC
To install on Linux to /usr/local/..., run the line above with the additional install keyword and with sudo. To install on Linux to /usr/local/..., run the line above with the additional install keyword and with sudo.