diff options
author | Thomas Haller <thaller@redhat.com> | 2017-03-24 15:36:06 +0100 |
---|---|---|
committer | Martin Pitt <martinpitt@users.noreply.github.com> | 2017-03-24 15:36:06 +0100 |
commit | 1539a651a9d31c18273df917bbfe175ab3606025 (patch) | |
tree | b7ac8d7382e73561934d367f25380c468b9db63a | |
parent | 29f32655842a0712e8db482bcefc4da8908460c8 (diff) |
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.
-rw-r--r-- | Makefile.am | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 1fe86fd543..acda826621 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1010,8 +1010,7 @@ libbasic_la_CFLAGS = \ libbasic_la_LIBADD = \ $(SELINUX_LIBS) \ $(CAP_LIBS) \ - -lrt \ - -lm + -lrt # ----------------------------------------------------------------------------- noinst_LTLIBRARIES += \ |