maidsafe-archive / MaidSafe

This is the super-project in which each MaidSafe library resides. Some information is common to all libraries, and is detailed here. Library-specific information can be found in each library's wiki.
Other
583 stars 102 forks source link

Please give optional usage of system boost libraries #204

Open 93i opened 9 years ago

93i commented 9 years ago

MaidSafe build fails on ArchLinux and i bet many other Linux distros that do not deliver static libraries. It tries to download and compile a certain boost version as static library, which fails because itself requires several libs being available statically (libicui18n.a and more), but many Linux distros don't ship static libraries. It is not a good idea anyway for an open source project to use static libraries. If you want to be included in official repositories, you better use dynamic linkage to the system boost libs, at least make it optional, so one could set an cmake variable to make the build system use system boost dynamically linked.