From 1840bd14443377e63601d1cbe67fc3af60f02f49 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Fri, 5 Sep 1997 11:49:43 +0000 Subject: [PATCH] If not building a.out, still build a pic version of libmd. This allows things like libskey.so to be dynamically self contained. Things like md5(1) where speed is critical should still link with libmd.a, but for things like login, where it's a once-off call if skey is used, it's not worth the hassle. --- lib/libmd/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/libmd/Makefile b/lib/libmd/Makefile index 3969862f7b0..270bd26832f 100644 --- a/lib/libmd/Makefile +++ b/lib/libmd/Makefile @@ -1,7 +1,9 @@ -# $Id$ +# $Id: Makefile,v 1.23 1997/02/22 15:07:10 peter Exp $ LIB= md +.if ${BINFORMAT} != elf NOPIC= true +.endif SRCS= md2c.c md4c.c md5c.c md2hl.c md4hl.c md5hl.c MAN3+= md2.3 md4.3 md5.3 MLINKS+=md2.3 MD2Init.3 md2.3 MD2Update.3 md2.3 MD2Final.3