]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Add libmd (or move it after libcrypt). We don't want the linker to be
authorMarcel Moolenaar <marcel@FreeBSD.org>
Thu, 16 Dec 1999 10:55:45 +0000 (10:55 +0000)
committerMarcel Moolenaar <marcel@FreeBSD.org>
Thu, 16 Dec 1999 10:55:45 +0000 (10:55 +0000)
smart because it will definitely get it wrong. This popped up during
cross-linking.

chpass/Makefile
pw/Makefile

index c17a4ce7ceb5fc2a3a14a2defd8ea1da9efc41c7..7966608938ceec2d2f96b9916e5bd30df93c879f 100644 (file)
@@ -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}
 
index e6c9fa309e242765f128f8fc808f93a070f73ada..02c295716c8dbb8fb9e6db66a8436f020d88252c 100644 (file)
@@ -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