From: Paul Mackerras Date: Tue, 12 Jul 2005 01:50:23 +0000 (+0000) Subject: Assume that we have libcrypt if we have /usr/include/crypt.h. X-Git-Tag: ppp-2.4.7~143 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=6f7680c6b87123f57e1b99e29b7922f04c4f6105 Assume that we have libcrypt if we have /usr/include/crypt.h. This should fix linking on 64-bit architectures. --- 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