blob: 76640b0a1e933964eb5f3f975f3d25546044daee [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From fda0ff49968aebc7b27f9711cf6eb7f6c560adc1 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 25 Jul 2017 18:28:15 -0700
4Subject: [PATCH] Makefile.am: Link with libm for powl() API
5
6Signed-off-by: Khem Raj <raj.khem@gmail.com>
7---
8 Makefile.am | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/Makefile.am b/Makefile.am
12index 4219f28..2a5ceac 100644
13--- a/Makefile.am
14+++ b/Makefile.am
15@@ -69,7 +69,7 @@ dist_pkgdata_DATA = usermode.ui
16 userhelper_SOURCES = userhelper.c userhelper.h shvar.c shvar.h
17 userhelper_CPPFLAGS = $(AM_CPPFLAGS) -DSYSCONFDIR='"$(sysconfdir)"'
18 userhelper_LDADD = liblib.a $(LIBUSER_LIBS) $(GLIB_LIBS) $(PAM_LIBS) \
19- $(SELINUX_LIBS) $(EFENCE_LIBS)
20+ $(SELINUX_LIBS) $(EFENCE_LIBS) -lm
21
22 userinfo_SOURCES = userinfo.c
23 userinfo_CPPFLAGS = $(AM_CPPFLAGS) $(PIXMAPDIR_CPPFLAGS) $(SBINDIR_CPPFLAGS) \
24--
252.13.3
26