From 5d82c0fe7fac3dc3e580e1714fac5f9a886f1a2c Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Thu, 16 Dec 1999 10:55:45 +0000 Subject: Add libmd (or move it after libcrypt). We don't want the linker to be smart because it will definitely get it wrong. This popped up during cross-linking. --- chpass/Makefile | 5 +++-- pw/Makefile | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/chpass/Makefile b/chpass/Makefile index c17a4ce..7966608 100644 --- a/chpass/Makefile +++ b/chpass/Makefile @@ -1,4 +1,5 @@ # @(#)Makefile 8.2 (Berkeley) 4/2/94 +# $FreeBSD$ PROG= chpass CFLAGS+=-Wall @@ -26,8 +27,8 @@ COPTS+= -DYP -I. -I${.CURDIR}/../../libexec/ypxfr \ #Some people need this, uncomment to activate #COPTS+= -DRESTRICT_FULLNAME_CHANGE -DPADD= ${LIBRPCSVC} ${LIBCRYPT} -LDADD+= -lrpcsvc -lcrypt +DPADD= ${LIBRPCSVC} ${LIBCRYPT} ${LIBMD} +LDADD+= -lrpcsvc -lcrypt -lmd CLEANFILES= ${GENSRCS} diff --git a/pw/Makefile b/pw/Makefile index e6c9fa3..02c2957 100644 --- a/pw/Makefile +++ b/pw/Makefile @@ -10,8 +10,8 @@ MAN8= pw.8 #RND= -DUSE_MD5RAND CFLAGS+= -W -Wall $(CDB) $(RND) -LDADD= -lcrypt -DPADD= ${LIBCRYPT} +LDADD= -lcrypt -lmd +DPADD= ${LIBCRYPT} ${LIBMD} BINMODE=0555 -- cgit v1.2.3-56-ge451