diff options
author | Roy Marples <roy@marples.name> | 2007-05-14 12:24:18 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-05-14 12:24:18 +0000 |
commit | 0942916b729e375df32dae5874c74aaf4f5743a1 (patch) | |
tree | e02e63aa20ad55047eae69ce2ab63e6f43894a00 /src/Makefile | |
parent | 86c7d44d66a64d923294cf5d830b8fd3bf0e3db1 (diff) |
Allow time for pidfiles to be created, #178274.
Use int instead of char for getopt, #178084 thanks to drizztbsd.
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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 |