]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/util-linux/0001-build-sys-use-lm-for-scriptreplay-if-necessary.patch
uclibc: fix knock build issue
[coffee/buildroot.git] / package / util-linux / 0001-build-sys-use-lm-for-scriptreplay-if-necessary.patch
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
6 Reported-by: Bert van Hall <bert.vanhall@avionic-design.de>
7 Addresses: https://github.com/karelzak/util-linux/pull/397
8 Signed-off-by: Karel Zak <kzak@redhat.com>
9 (cherry picked from commit feda4342df1ced25df3d200ed23469e740196c86)
10 Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
11 ---
12  term-utils/Makemodule.am | 2 +-
13  1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/term-utils/Makemodule.am b/term-utils/Makemodule.am
16 index 1b7c5fc..ad1bb1f 100644
17 --- a/term-utils/Makemodule.am
18 +++ b/term-utils/Makemodule.am
19 @@ -21,7 +21,7 @@ if BUILD_SCRIPTREPLAY
20  usrbin_exec_PROGRAMS += scriptreplay
21  dist_man_MANS += term-utils/scriptreplay.1
22  scriptreplay_SOURCES = term-utils/scriptreplay.c
23 -scriptreplay_LDADD = $(LDADD) libcommon.la
24 +scriptreplay_LDADD = $(LDADD) libcommon.la $(MATH_LIBS)
25  endif # BUILD_SCRIPTREPLAY
26  
27  
28 -- 
29 2.7.4
30