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.
This commit is contained in:
Thomas Haller 2017-03-24 15:36:06 +01:00 committed by Martin Pitt
parent 29f3265584
commit 1539a651a9
1 changed files with 1 additions and 2 deletions

View File

@ -1010,8 +1010,7 @@ libbasic_la_CFLAGS = \
libbasic_la_LIBADD = \
$(SELINUX_LIBS) \
$(CAP_LIBS) \
-lrt \
-lm
-lrt
# -----------------------------------------------------------------------------
noinst_LTLIBRARIES += \