From 6531295911ef476f494fff7a13a3596f79133210 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Apr 21 2020 05:37:24 +0000 Subject: Link against -lm when builder userhelper userhelper.c calls powl which requires linking against -lm. --- diff --git a/Makefile.am b/Makefile.am index 4219f28..5c99a86 100644 --- a/Makefile.am +++ b/Makefile.am @@ -68,7 +68,7 @@ dist_pkgdata_DATA = usermode.ui userhelper_SOURCES = userhelper.c userhelper.h shvar.c shvar.h userhelper_CPPFLAGS = $(AM_CPPFLAGS) -DSYSCONFDIR='"$(sysconfdir)"' -userhelper_LDADD = liblib.a $(LIBUSER_LIBS) $(GLIB_LIBS) $(PAM_LIBS) \ +userhelper_LDADD = liblib.a $(LIBUSER_LIBS) $(GLIB_LIBS) $(PAM_LIBS) -lm \ $(SELINUX_LIBS) $(EFENCE_LIBS) userinfo_SOURCES = userinfo.c