X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2FMakefile.linux;h=af8f6c615dc37c280adfbb48a9bb1d5dba30e52c;hb=bf69479845b0dc57e75423be4dd2491cadda1f89;hp=d75b20c7086988d717768b85beb0815599233b0b;hpb=0296079a6611dd4150cf7dc946828f3d3f9def7a;p=ppp.git diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux index d75b20c..af8f6c6 100644 --- a/pppd/Makefile.linux +++ b/pppd/Makefile.linux @@ -1,10 +1,10 @@ # # pppd makefile for Linux -# $Id: Makefile.linux,v 1.67 2005/07/10 11:19:10 paulus Exp $ +# $Id: Makefile.linux,v 1.69 2006/06/04 05:07:46 paulus Exp $ # # Default installation locations -DESTDIR = @DESTDIR@ +DESTDIR = $(INSTROOT)@DESTDIR@ BINDIR = $(DESTDIR)/sbin MANDIR = $(DESTDIR)/share/man/man8 INCDIR = $(DESTDIR)/include @@ -118,9 +118,7 @@ CFLAGS += -DHAS_SHADOW endif ifneq ($(wildcard /usr/include/crypt.h),) -CFLAGS += -DHAVE_CRYPT_H=1 -endif -ifneq ($(wildcard /usr/lib/libcrypt.*),) +CFLAGS += -DHAVE_CRYPT_H=1 LIBS += -lcrypt endif