From 0942916b729e375df32dae5874c74aaf4f5743a1 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 14 May 2007 12:24:18 +0000 Subject: Allow time for pidfiles to be created, #178274. Use int instead of char for getopt, #178084 thanks to drizztbsd. --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 4b39bbe3..14cd69f8 100644 --- a/src/Makefile +++ b/src/Makefile @@ -70,7 +70,7 @@ LDLIBS_RS = -ldl override CPPFLAGS += -D_GNU_SOURCE endif ifeq ($(OS),BSD) -override LDLIBS += -lkvm +LDLIBS_LIBRC = -lkvm endif HAVE_PAM = @@ -102,7 +102,7 @@ $(LIBEINFOSO): $(LIBEINFOOBJS) $(LIBRCOBJS): CFLAGS += -fPIC $(LIBRCSO): $(LIBRCOBJS) - $(CC) -fPIC -shared -Wl,-soname,$(LIBRCSO) -o $(LIBRCSO) $(LIBRCOBJS) + $(CC) -fPIC -shared -Wl,-soname,$(LIBRCSO) -o $(LIBRCSO) $(LDLIBS_LIBRC) $(LIBRCOBJS) ln -sf $(LIBRCSO) librc.so env-update: $(LIBEINFOSO) $(LIBRCSO) env-update.o -- cgit v1.2.3