From 2f62c9d24ea396247101d301960dd12aef2891ad Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Tue, 4 Mar 1997 03:35:05 +0000 Subject: [PATCH] fix libs and flags --- pppd/Makefile.linux | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux index e759a61..9333096 100644 --- a/pppd/Makefile.linux +++ b/pppd/Makefile.linux @@ -1,6 +1,6 @@ # # pppd makefile for Linux -# $Id: Makefile.linux,v 1.18 1996/10/08 06:42:41 paulus Exp $ +# $Id: Makefile.linux,v 1.19 1997/03/04 03:35:05 paulus Exp $ # # Default installation locations @@ -28,7 +28,7 @@ endif # COPTS = -O2 # -g VER = 2.3.0 -LIBS = -lc -lbsd +LIBS = -lcrypt -lbsd # The INCLUDE_DIRS must include the standard headers before the local # ones. If you just had -I.. then the order would be reversed. So, use @@ -57,6 +57,12 @@ CFLAGS += -DUSE_PAM LIBS := -lpam -ldl $(LIBS) endif +# Lock library binary for Linux is included in 'linux' subdirectory. +ifdef LOCKLIB +LIBS := -llock $(LIBS) +CFLAGS += -DLOCKLIB=1 +endif + install: pppd mkdir -p $(BINDIR) $(MANDIR) install -s -c -m 4555 -o root pppd $(BINDIR)/pppd -- 2.39.2