From af91b5abda8b65c5626c9e6f5a5c0a4d43a5b89e Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Fri, 30 Aug 1996 01:14:40 +0000 Subject: [PATCH] Quick hack to replace a destructive libresolv.so.2.0 with something that transparently resolves references to libc. --- lib/libresolv/Makefile | 6 +++--- lib/libresolv/fakelib.c | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 lib/libresolv/fakelib.c diff --git a/lib/libresolv/Makefile b/lib/libresolv/Makefile index 699c54cb826e..c205b9285cbb 100644 --- a/lib/libresolv/Makefile +++ b/lib/libresolv/Makefile @@ -1,10 +1,10 @@ # @(#)Makefile 8.1 (Berkeley) 6/4/93 LIB=resolv -CFLAGS+=-DDEBUG -DLIBC_SCCS -.PATH: ${.CURDIR}/../libc/net +SRCS= fakelib.c -SRCS=gethostnamadr.c res_mkquery.c res_query.c res_send.c +afterinstall: + rm -f ${DESTDIR}${LIBDIR}/libresolv.a .include diff --git a/lib/libresolv/fakelib.c b/lib/libresolv/fakelib.c new file mode 100644 index 000000000000..0f7b46f76005 --- /dev/null +++ b/lib/libresolv/fakelib.c @@ -0,0 +1 @@ +static int ___fake_library___;