0001-build-sys-use-lm-for-scriptreplay-if-necessary.patch 1.0 KB

123456789101112131415161718192021222324252627282930
  1. From 02283be90292b2f57183aa930c4d69375f1d905d 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: [PATCH] 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. (cherry picked from commit feda4342df1ced25df3d200ed23469e740196c86)
  9. Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
  10. ---
  11. term-utils/Makemodule.am | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. diff --git a/term-utils/Makemodule.am b/term-utils/Makemodule.am
  14. index 1b7c5fc..ad1bb1f 100644
  15. --- a/term-utils/Makemodule.am
  16. +++ b/term-utils/Makemodule.am
  17. @@ -21,7 +21,7 @@ if BUILD_SCRIPTREPLAY
  18. usrbin_exec_PROGRAMS += scriptreplay
  19. dist_man_MANS += term-utils/scriptreplay.1
  20. scriptreplay_SOURCES = term-utils/scriptreplay.c
  21. -scriptreplay_LDADD = $(LDADD) libcommon.la
  22. +scriptreplay_LDADD = $(LDADD) libcommon.la $(MATH_LIBS)
  23. endif # BUILD_SCRIPTREPLAY
  24. --
  25. 2.7.4