--- a/Makefile.am +++ b/Makefile.am @@ -9,6 +9,7 @@ if LIBWRAP AM_CPPFLAGS += -DLIBWRAP +WRAPLIB = -lwrap endif bin_PROGRAMS = rpcbind rpcinfo @@ -24,7 +28,7 @@ src/security.c \ src/util.c \ src/warmstart.c -rpcbind_LDADD = $(TIRPC_LIBS) +rpcbind_LDADD = $(TIRPC_LIBS) $(WRAPLIB) rpcinfo_SOURCES = src/rpcinfo.c rpcinfo_LDADD = $(TIRPC_LIBS)