From 6f7680c6b87123f57e1b99e29b7922f04c4f6105 Mon Sep 17 00:00:00 2001 From: Paul Mackerras Date: Tue, 12 Jul 2005 01:50:23 +0000 Subject: [PATCH] Assume that we have libcrypt if we have /usr/include/crypt.h. This should fix linking on 64-bit architectures. --- pppd/Makefile.linux | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pppd/Makefile.linux b/pppd/Makefile.linux index d75b20c..306f8f3 100644 --- a/pppd/Makefile.linux +++ b/pppd/Makefile.linux @@ -1,6 +1,6 @@ # # pppd makefile for Linux -# $Id: Makefile.linux,v 1.67 2005/07/10 11:19:10 paulus Exp $ +# $Id: Makefile.linux,v 1.68 2005/07/12 01:50:23 paulus Exp $ # # Default installation locations @@ -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 -- 2.39.2