From 17e77da99f103191da3e1e7d0b43838a04c5ac3b Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Fri, 23 Dec 2011 14:41:11 -0500 Subject: autoconf: don't let libnfsidmap test add -lnfsidmap to $LIBS ...as that makes that library get linked into every binary. Also, replace "hardcoded" -lnfsidmap linker flag in Makefiles with a AC_SUBST variable. This fixes a regression introduced in commit d7c64dd. Signed-off-by: Jeff Layton --- utils/gssd/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/gssd') diff --git a/utils/gssd/Makefile.am b/utils/gssd/Makefile.am index d7888ad..9136189 100644 --- a/utils/gssd/Makefile.am +++ b/utils/gssd/Makefile.am @@ -58,7 +58,7 @@ svcgssd_SOURCES = \ svcgssd_LDADD = \ ../../support/nfs/libnfs.a \ - $(RPCSECGSS_LIBS) $(GSSGLUE_LIBS) -lnfsidmap \ + $(RPCSECGSS_LIBS) $(GSSGLUE_LIBS) $(LIBNFSIDMAP) \ $(KRBLIBS) svcgssd_LDFLAGS = $(KRBLDFLAGS) -- cgit