From 5fb32aaddfe2b653224756fb7fad79f55a3d530b Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Sun, 4 Sep 1994 02:40:31 +0000 Subject: [PATCH] Make mddriver static. Submitted by: jkh --- lib/libmd/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libmd/Makefile b/lib/libmd/Makefile index 888038aea803..40848f66b40f 100644 --- a/lib/libmd/Makefile +++ b/lib/libmd/Makefile @@ -66,13 +66,13 @@ md5.ref: beforeinstall: md2.ref md4.ref md5.ref md2.3 md4.3 md5.3 @${ECHO} if any of these test fail, the code produces wrong results @${ECHO} and should NOT be used. - ${CC} ${CFLAGS} ${LDFLAGS} -DMD=2 -o mddriver ${.CURDIR}/mddriver.c -L. -lmd + ${CC} -static ${CFLAGS} ${LDFLAGS} -DMD=2 -o mddriver ${.CURDIR}/mddriver.c -L. -lmd ./mddriver | cmp md2.ref - @${ECHO} MD2 passed test - ${CC} ${CFLAGS} ${LDFLAGS} -DMD=4 -o mddriver ${.CURDIR}/mddriver.c -L. -lmd + ${CC} -static ${CFLAGS} ${LDFLAGS} -DMD=4 -o mddriver ${.CURDIR}/mddriver.c -L. -lmd ./mddriver | cmp md4.ref - @${ECHO} MD4 passed test - ${CC} ${CFLAGS} ${LDFLAGS} -DMD=5 -o mddriver ${.CURDIR}/mddriver.c -L. -lmd + ${CC} -static ${CFLAGS} ${LDFLAGS} -DMD=5 -o mddriver ${.CURDIR}/mddriver.c -L. -lmd ./mddriver | cmp md5.ref - @${ECHO} MD5 passed test -rm -f mddriver