summaryrefslogtreecommitdiffstats
path: root/chpass/Makefile
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>1999-12-16 10:55:45 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>1999-12-16 10:55:45 +0000
commit5d82c0fe7fac3dc3e580e1714fac5f9a886f1a2c (patch)
tree30e577ad143b66d5c69e0f2b44f65ec92dcbecd9 /chpass/Makefile
parent67087398f465073f3513d34f0788d720a523fe46 (diff)
downloadpw-darwin-5d82c0fe7fac3dc3e580e1714fac5f9a886f1a2c.tar.gz
pw-darwin-5d82c0fe7fac3dc3e580e1714fac5f9a886f1a2c.tar.zst
pw-darwin-5d82c0fe7fac3dc3e580e1714fac5f9a886f1a2c.zip
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.
Diffstat (limited to 'chpass/Makefile')
-rw-r--r--chpass/Makefile5
1 files changed, 3 insertions, 2 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}