basic: don't link "libm.so" into "libbasic.so" (#5628)
authorThomas Haller <thaller@redhat.com>
Fri, 24 Mar 2017 14:36:06 +0000 (15:36 +0100)
committerMartin Pitt <martinpitt@users.noreply.github.com>
Fri, 24 Mar 2017 14:36:06 +0000 (15:36 +0100)
commit1539a651a9d31c18273df917bbfe175ab3606025
treeb7ac8d7382e73561934d367f25380c468b9db63a
parent29f32655842a0712e8db482bcefc4da8908460c8
basic: don't link "libm.so" into "libbasic.so" (#5628)

Very few parts of the systemd source require <math.h> or "libm.so".
Linking libbasic with -lm drags the mathematical library in for all
systemd components, and in turn for all users of systemd libraries.

It's just unneeded.
Makefile.am