aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-10-11 04:21:56 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-10-11 04:21:56 +0000
commit29b678437f616b03744e6cef75d6662d4138a3b2 (patch)
treec5a298dd68eee0ab1f0fbf40962c4644fe516b6f /lib
parent94614a780fb6eb4a63798377d199acbfa2ea6edf (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libresolv/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/libresolv/Makefile b/lib/libresolv/Makefile
index 69dcbe87798e..118b7574a77a 100644
--- a/lib/libresolv/Makefile
+++ b/lib/libresolv/Makefile
@@ -7,6 +7,10 @@ SHLIB_MINOR= 0
SRCS= fakelib.c
+.if ${OBJFORMAT} != aout
+NOPIC= true
+.endif
+
#
# Before complaining about this, please *double-check* that you have
# updated the ldconfig path in /etc/rc to include /usr/lib/compat that
@@ -19,8 +23,11 @@ SRCS= fakelib.c
#
beforeinstall:
rm -f ${DESTDIR}${LIBDIR}/lib${LIB}.a \
- ${DESTDIR}${LIBDIR}/lib${LIB}_p.a \
- ${DESTDIR}${ORIG_SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
+ ${DESTDIR}${LIBDIR}/lib${LIB}_p.a \
+ ${DESTDIR}${ORIG_SHLIBDIR}/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
+ ${DESTDIR}/usr/lib/compat/lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
+ ${DESTDIR}/usr/lib/compat/lib${LIB}.so.${SHLIB_MAJOR} \
+ ${DESTDIR}/usr/lib/compat/lib${LIB}.so
.include <bsd.lib.mk>
@@ -29,4 +36,4 @@ ORIG_SHLIBDIR:= ${SHLIBDIR}
# The ldconfig line in/etc/rc doesn't depend on ${LIBDIR} or ${SHLIBDIR},
# so neither does this.
-SHLIBDIR= /usr/lib/compat
+SHLIBDIR= /usr/lib/compat/aout