]> git.ipfire.org Git - thirdparty/systemd.git/commit
meson: link with libm for math functions
authorAnita Zhang <the.anitazha@gmail.com>
Fri, 2 Apr 2021 01:44:26 +0000 (18:44 -0700)
committerAnita Zhang <the.anitazha@gmail.com>
Fri, 2 Apr 2021 01:45:48 +0000 (18:45 -0700)
commitea460d79644560bcb1ed2adb4cf30413f285492a
tree67b204c68ad13c72130700ad1b2412e7778de112
parent8ab34a49dbf75fd731973359a6f24c212682f479
meson: link with libm for math functions

Fixes this error I got building on F33:
  /usr/bin/ld: test-random-util.p/src_test_test-random-util.c.o: undefined
  reference to symbol 'sqrt@@GLIBC_2.2.5'
  /usr/bin/ld: /usr/lib64/libm.so.6: error adding symbols: DSO missing
  from command line
src/test/meson.build