test_pty only uses pty-session.c and monotonic.c, neither of which
use any math functions. Remove the unnecessary libm dependency from
both autotools and meson build files.
Signed-off-by: Karel Zak <kzak@redhat.com>
include/pty-session.h \
lib/monotonic.c
test_pty_CFLAGS = $(AM_CFLAGS) -DTEST_PROGRAM_PTY
-test_pty_LDADD = $(LDADD) libcommon.la $(MATH_LIBS) $(REALTIME_LIBS) -lutil
+test_pty_LDADD = $(LDADD) libcommon.la $(REALTIME_LIBS) -lutil
endif
if LINUX
c_args : ['-DTEST_PROGRAM_PTY'],
include_directories : dir_include,
link_with : [lib_common],
- dependencies : [lib_m,
- realtime_libs,
+ dependencies : [realtime_libs,
lib_util],
build_by_default: program_tests)
if not is_disabler(exe)