boostorg / chrono

Boost.org chrono module
http://boost.org/libs/chrono
15 stars 52 forks source link

Remove linking with Boost.System #37

Closed Lastique closed 5 years ago

Lastique commented 5 years ago

Since Boost.System is now header-only, no need to link with the library.

viboes commented 5 years ago

Boost.System is header only since a long time. But, Boost.System is also a library providing a binary.

What is the problem? Why it is better to manage it as header only?

Lastique commented 5 years ago

Linking with the library adds a runtime dependency on the Boost.System binary, which is no longer needed. For example, in Debian it will cause libboost-thread package dependency on libboost-system, and will cause that unneeded library to be loaded into processes.

viboes commented 5 years ago

As the Boost.System library is now empty there is no reason to link with.