mirror of
https://github.com/systemd/systemd.git
synced 2025-03-31 14:50:15 +03:00
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:
parent
29f3265584
commit
1539a651a9
@ -1010,8 +1010,7 @@ libbasic_la_CFLAGS = \
|
||||
libbasic_la_LIBADD = \
|
||||
$(SELINUX_LIBS) \
|
||||
$(CAP_LIBS) \
|
||||
-lrt \
|
||||
-lm
|
||||
-lrt
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
noinst_LTLIBRARIES += \
|
||||
|
Loading…
x
Reference in New Issue
Block a user