From: Thomas Haller Date: Fri, 24 Mar 2017 14:36:06 +0000 (+0100) Subject: basic: don't link "libm.so" into "libbasic.so" (#5628) X-Git-Tag: v234~356 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1539a651a9d31c18273df917bbfe175ab3606025;p=thirdparty%2Fsystemd.git basic: don't link "libm.so" into "libbasic.so" (#5628) Very few parts of the systemd source require 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. --- diff --git a/Makefile.am b/Makefile.am index 1fe86fd543a..acda8266219 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 += \