1
0

001-uclibc_add_libm_to_scriptreplay.patch 856 B

123456789101112131415161718192021222324
  1. From feda4342df1ced25df3d200ed23469e740196c86 Mon Sep 17 00:00:00 2001
  2. From: Karel Zak <kzak@redhat.com>
  3. Date: Wed, 18 Jan 2017 13:17:21 +0100
  4. Subject: build-sys: use -lm for scriptreplay if necessary
  5. Reported-by: Bert van Hall <bert.vanhall@avionic-design.de>
  6. Addresses: https://github.com/karelzak/util-linux/pull/397
  7. Signed-off-by: Karel Zak <kzak@redhat.com>
  8. ---
  9. configure.ac | 7 +++++++
  10. term-utils/Makemodule.am | 2 +-
  11. 2 files changed, 8 insertions(+), 1 deletion(-)
  12. --- a/term-utils/Makemodule.am
  13. +++ b/term-utils/Makemodule.am
  14. @@ -21,7 +21,7 @@ if BUILD_SCRIPTREPLAY
  15. usrbin_exec_PROGRAMS += scriptreplay
  16. dist_man_MANS += term-utils/scriptreplay.1
  17. scriptreplay_SOURCES = term-utils/scriptreplay.c
  18. -scriptreplay_LDADD = $(LDADD) libcommon.la
  19. +scriptreplay_LDADD = $(LDADD) libcommon.la $(MATH_LIBS)
  20. endif # BUILD_SCRIPTREPLAY